Git in Practice #11: Reviewing Your Changes with git diff
As its name suggests, git diff shows the difference: the exact changes you made in each file. What you'll learn Read git diff output: the + and - signs Review your changes before every commit Compare what’s staged with what isn’t An example In a file, we delete one line, change another and add a new one. git status only says the file is modified. To see the details: ...