Want help in git 1,6th topic git diff


#1

.
In the code editor, add this text to scene-1.txt:

Dumblediff: I should've known you would be here, Professor McGonagit.
Click Run.

2.From the terminal, use the new command to check the difference between the working directory and the staging area.

Notice the output:

"Harry Programmer and the Sorcerer's Code: Scene 1" is in the staging area, as indicated in white.
Changes to the file are marked with a + and are indicated in green.

IMPORTANT: press q on your keyboard to exit diff mode.

3.Add the changes to the staging area in Git. Recall that you will need to identify the file by its name.

Here's a hint for how to add files to the staging area.


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.