Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pygit2

Cloning Only The Main Branch Using Pygit2

I want to clone some remote repositories, but only retrieving the main branch. My code currently ge… Read more Cloning Only The Main Branch Using Pygit2

How To Make A Git Merge By Pygit2

I try to merge branch into master: repo = pygit2.Repository('/path/to/repo/') branch = repo… Read more How To Make A Git Merge By Pygit2