Skip to content
Snippets Groups Projects
Commit d236622b authored by María José Ramos's avatar María José Ramos
Browse files

Fixing command

parent bd06af21
No related branches found
No related tags found
No related merge requests found
...@@ -215,11 +215,11 @@ os.system("clear") ...@@ -215,11 +215,11 @@ os.system("clear")
# Git commit # Git commit
print(f"\nNow, you have to {commit}, to save these changes. To identify the {commit}, you can write a {commit} message") 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: ")) comment = input(f"Type a {commit} message. Make it short and simple: ")
cprint("command6: git commit -m", "green") cprint(f"command6: git commit -m {comment}", "green")
input(f"\nPress {enter} to execute the command...\n") input(f"\nPress {enter} to execute the command...\n")
time.sleep(2) 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") input(f"\nDone! Press {enter} to continue.\n")
# Git log # Git log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment