Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Support for --config <key>=<value> Git option #1723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dekhaus opened this issue Oct 25, 2023 · 0 comments
Closed

Support for --config <key>=<value> Git option #1723

dekhaus opened this issue Oct 25, 2023 · 0 comments

Comments

@dekhaus
Copy link

dekhaus commented Oct 25, 2023

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

@gitpython-developers gitpython-developers locked and limited conversation to collaborators Oct 25, 2023
@Byron Byron converted this issue into discussion #1724 Oct 25, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Development

No branches or pull requests

1 participant