Skip to content

Clone project without project main folder. #1168

Answered by Byron
hakanoktay asked this question in Q&A
Discussion options

You must be logged in to vote

I believe this invocation sets the working dir, but doesn't provide the actual ./path/to.

Maybe try something along the lines of git.Git(WEBDIR + domain.name + '/www').clone("https://github.com/uuu/xxxxx.git", "./path/to").

Lastly, you can see what GitPython actually executes by using the flags described in the docs.

Even though I am closing this question, please feel free to keep adding follow ups as comments.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1083 on February 26, 2021 11:18.