“Harry Programmer and the Sorcerer’s Code: Scene 1” is already in the staging area that’s why it’s indicated in white. If you have done any changes to that line, it will be marked in red or green.
In the exercise, the last step says to “Add the changes to the staging area in Git. Recall that you will need to identify the file by its name.” What does that mean?
You just have to use the name of the file that you are adding to the staging area. Your last line here should be:
$ git add scene-1.txt
because “scene-1.txt” is the file that you’re using and adding. If you didn’t identify the file by name, Git wouldn’t know what you want to add to the staging area.
I got through all the lessons in Basic Git Workflow once but stuck in the Manhattan Zoo. When I use “git commit”, it appeared like this. I don’t know how to get through this step (step 6)
Why does it ask you to add the scene to git again at the end? It told you to add the scene to the staging area earlier… is the last line of code needed?