I'm trying to add, push and commit using gitpython, to push everything in "C:\users\Blah Blah Blah.git" to my bitbucket acct.
Below is my code:
from git import Repo,remote
PATH_OF_GIT_REPO = r'C:\\users\\Blah Blah Blah'
COMMIT_MESSAGE = 'comment from python script'
repo = Repo(PATH_OF_GIT_REPO)
repo.git.add(update=True)
repo.index.commit(COMMIT_MESSAGE)
origin = repo.remote(name='origin')
origin.push()
Nothing seems to be happening, and I don't get any error messages neither. I'd appreciate any kind of help :)