diff --git a/git_assistant/git_tutorial.py b/git_assistant/git_tutorial.py index 2135f98a2781df6dd25f6869e0272b7de0a35952..2197e6d2d3d34e47751dd84adf15d6bc1f05ec38 100644 --- a/git_assistant/git_tutorial.py +++ b/git_assistant/git_tutorial.py @@ -215,11 +215,11 @@ os.system("clear") # Git commit print(f"\nNow, you have to {commit}, to save these changes. To identify the {commit}, you can write a {commit} message") -commit = input(str(f"Type a {commit} message. Make it one word: ")) -cprint("command6: git commit -m", "green") +comment = input(f"Type a {commit} message. Make it short and simple: ") +cprint(f"command6: git commit -m {comment}", "green") input(f"\nPress {enter} to execute the command...\n") time.sleep(2) -os.system(f"git commit -m {commit}") +os.system('git commit -m " '+str(comment)+'"') input(f"\nDone! Press {enter} to continue.\n") # Git log