Git 5/8 do not understand last command


"Now that changes made to scene-2.txt have been booted out of the staging area, you're ready to commit. From the terminal, make a commit to save the Larry/Laertes name swap in hamlet."
I don't understand what it is asking me. It says for me to do a commit but ???


Well, git commands are usually pretty straight forward, if you need to do:

git commit

but we want a message with the commit, so we use the m flag:

git commit -m "message"

pick a suiting message, you can always go back to the exercise where you learned a certain command, in this case it is this exercise


This topic is inactive.