Skip to main content

All Questions

Tagged with
7 votes
2 answers
18k views

GitPython unable to set the git config username and email

I am writing a python script that uses GitPython(https://gitpython.readthedocs.io/en/stable/) to commit my local files to a remote repository. After making the edits to my files, I set the vaue of ...
sshussain270's user avatar
  • 1,875
6 votes
3 answers
13k views

git push using python

I have local git repository. I am using python to commit the local repo using gitpython library. I want to push the commit to github. How can I do this using gitpython or any other library. I looked ...
Sam's user avatar
  • 766
4 votes
2 answers
6k views

how to pull, push with remote branch

I'm trying to automate a change process which currently creates source code that gets manually pushed to Git. I'm trying to wrap that code using GitPython: from git import * # create the local repo ...
user3242205's user avatar