Skip to main content

All Questions

Tagged with
1 vote
1 answer
2k views

How to use GitPython to perform "git push" when using SSH Keys?

I am trying to write a Python Controller, which would help me automate Git -usage. I've gotten all other commands to work - but I am having difficulties with git push equivalent, when using GitPython ...
haapjari's user avatar
0 votes
0 answers
426 views

Git push using gitpython library

I have tried this python code to push to my repository. When I execute it, it says code push successful. But when I logged in to my BitBucket, I understood that it didn't push anything. Please help me ...
deeksha's user avatar
  • 17
1 vote
1 answer
590 views

GitPython Issue when pushing a new local tag

I created a tag using git tag -a test -m test Now, I would like to push just this tag, but GitPython is reporting that I am not in the repository. Even though I can push the change commit just ...
Phil Benichou's user avatar
1 vote
1 answer
888 views

How to push to git using gitPython with different users

I use gitPython to push to a remote repo using different users who are logged in into our app. For now I just push to repo like below: logging.debug('Opening repo {}...'.format(repo_path)) repo = ...
Alireza's user avatar
  • 6,878
1 vote
1 answer
439 views

Gitpython: test python pass but no file pushed in the repository

I'm about executing test using python and as selenium webdriver as a server , i added the gitpython module that i can apply a git test (clone , add , commit and push) Every thing is Ok , and the test ...
Baini.Marouane's user avatar
25 votes
5 answers
74k views

Git push via GitPython

I have this code in Python (using "import git"): repo = git.Repo("my_repository") repo.git.add("bla.txt") repo.git.commit("my commit description") Now I want to push this commit. I've tried a lot ...
amigo's user avatar
  • 251