Skip to content

GitPython: git push --mirror #1246

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

You must be logged in to vote

GitPython can have a few surprises and in order to avoid that, you could exclusively rely on calling repo.git.… as a handle to the underlying git command.

remote.push(…) provides access to parsed progress information, but if that is not used there isn't much value in it at all.

Why hooks didn't work as expected I don't know - ultimately it calls the git command.

proc.wait(stderr=stderr_text)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by AlexandreODelisle
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