From d0844c8b3fa33144ac651f753dd4a3c5616af32e Mon Sep 17 00:00:00 2001 From: jonnybravo Date: Sun, 3 Sep 2023 17:46:14 +0200 Subject: [PATCH] commit message from python script --- check_and_add_pull_git/pull_and_push.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_and_add_pull_git/pull_and_push.py b/check_and_add_pull_git/pull_and_push.py index 966410c..4d5c6d5 100644 --- a/check_and_add_pull_git/pull_and_push.py +++ b/check_and_add_pull_git/pull_and_push.py @@ -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.")