Replies: 1 comment
-
I recommend to try it and see what happens - if the command fails it will be shown as part of an exception. If it doesn't, it can be made visible by setting Maybe that leads to the desired results. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Its my understanding that support for the --config option was adding to GitPython in this PR ( #836 )
I'd like to use GitPython to perform a 'clone_from' command and have that command be passed a = config option. Based on what I've read in the notes for the aforementioned PR (836) - this option is supported.
Assuming it is supported - I have no idea what the syntax is. Here's an example of the complete Git command I want to emulate ...
git clone -c http.extraHeader='Authorization: Bearer replace_with_some_token' https://replace_with_git_url.git
How would the above git command be replicated using GitPython ...
git.Repo.clone_from( ? )
?
Thanks
Dave
Beta Was this translation helpful? Give feedback.
All reactions