commit message from python script

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

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)
print(repo.refs[0])
print('No Changes detected.')
else:
print("Changes detected.")