commit message from python script

This commit is contained in:
2023-09-03 17:46:14 +02:00
parent 2248066497
commit d0844c8b3f

View File

@@ -22,7 +22,7 @@ class my_git():
def git_push(self, git_folder):
repo = git.Repo(git_folder)
if not repo.is_dirty(untracked_files=True):
print(repo.refs[0])
print(repo.refs[1])
print('No Changes detected.')
else:
print("Changes detected.")