All Questions
3 questions
1
vote
1
answer
520
views
How to get gerrit URL after git upload using gitpython?
repo=Repo.clone_from(my_repo,'/path/to/clone')
git=repo.git
#cd to repo and do some update to my_file
git.add([my_file])
git.commit("My commit message")
#Upload to gerrit
git.push("origin","HEAD:refs/...
0
votes
1
answer
529
views
No handlers could be found for logger "git.remote"
So I am getting the issue using gitpython:
No handlers could be found for logger "git.remote"
My code
print repo_object.remote() # origin
print repo_object.active_branch # master
print repo_object....
1
vote
2
answers
475
views
Git pull a change of a gerrit project using gitpython
I am trying to pull a change of a gerrit project into my local repository using gitpython. This can be done using the following command,
git pull origin refs/changes/25/225/1
Here, refs/changes/25/...