diff --git a/check_and_add_pull_git/pull_and_push.py b/check_and_add_pull_git/pull_and_push.py index 95e6ef5..526c292 100644 --- a/check_and_add_pull_git/pull_and_push.py +++ b/check_and_add_pull_git/pull_and_push.py @@ -24,13 +24,13 @@ class my_git(): if not repo.is_dirty(untracked_files=True): print('No Changes detected in Folder', git_folder, sep=" ") else: - print("Changes detected.") + print("Changes detected in Folder", git_folder, sep=" ") for remote in repo.remotes: - print(remote.name, remote.url) repo.git.add('--all') repo.git.commit('-m', 'commit message from python script') remote_name = repo.remote(name=remote.name) remote_name.push() + print("Push to", remote.url, sep=" ") def git_main(self): list_git_folder = my_git.check_folder(self)