All Questions
5 questions
6
votes
2
answers
3k
views
How to get master/main branch from gitpython
How one can know about the master/main branch at git remote with git-python.
I am aware that we can iterate over the heads of the repository and then check the results. Something like
repo = git.Repo('...
1
vote
1
answer
2k
views
getting difference of commits between two branches using gitpython
What I want to achieve can be done using command line git as follows
git log stage..develop
commit ea31b4f01f02af91f31.....b34895e1c825 (origin/develop, develop)
Author: author <[email protected]&...
1
vote
2
answers
1k
views
pushing zipped files on github using python
i want to push a .zip file on github using python code or API, but in doing so with some resources which i found on stackoverflow, the file is being pushed but the data pushed is corrupted and cannot ...
1
vote
1
answer
3k
views
How to checkout and merge branches to master - GITPYTHON
I need to merge all my branches to the master using python. branch local path,buildno getting via environment variables. I have the following code to checkout each branch and merge to master. but it ...
0
votes
1
answer
63
views
Continuous Integration of Repositories from GitHub using Python
I want to download multiple repositories from GitHub using Python libraries. I found gitpython, but I don't know how to write a program which continuously forks repositories. Any suggestions how can I ...