Drag the edges to resize the window.

Code Editor

Good work! Now you know how to add a file to the staging area.

Imagine that we type another line in scene-1.txt. Since the file is tracked, we can check the differences between the working directory and the staging area with:

git diff filename

Here, filename is the actual name of the file. If the name of my file was changes.txt the command would be

git diff changes.txt
Report a Bug
If you see a bug or any other issue with this page, please report it here.