Skip to content

Clone project without project main folder. #1083

Description

@hakanoktay

-- Hi,
-- how can i clone only files and directories? When i clone, it downloading in a folder named by project name.
/path/to/xxxxx

# Example usage
import git
git.Git(WEBDIR + domain.name + '/www').clone("https://github.com/uuu/xxxxx.git")

-- I was doing it by adding dot (.) when cloning with terminal
git clone https://github.com/uuu/xxxxx.git .
/path/to

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions