Replies: 1 comment
-
Is it possible to set the PAT using http.extraHeader using If so, maybe it's also possible to transiently set it using the GIT_CONFIG_COUNT… environment variables. |
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.
-
Trying to use GitPython to do some automated stuff during a GitHub action, GitHub being what it is requires the use of a PAT in order to access a repo to do a push when the branches are protected.
How do I clone and push using GitPython when I have to provide a PAT. It was working using the
https
URL but GitHub recently killed that and I am not sure how to enforce that GitPython uses the PAT for authentication against GitHub.Beta Was this translation helpful? Give feedback.
All reactions