From d236622bf251b711f51250faaf748b2823d7b360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Jos=C3=A9=20Ramos?= <mariayellowd@gmail.com> Date: Wed, 12 May 2021 09:39:03 -0500 Subject: [PATCH] Fixing command --- git_assistant/git_tutorial.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git_assistant/git_tutorial.py b/git_assistant/git_tutorial.py index 2135f98..2197e6d 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 -- GitLab