macOS screen-256color zsh 256 views

This video shows the difference between git diff and git diff --cached.

I use git add first_file.txt to tell git that I want to commit that file. It is in what git calls the “staging” area. To show changes to file in the staging area, you must use git diff --cached.

If you want to see how files that are not in the staging area have changed, you use git diff

More recordings by magikid

Browse all

untitled 0:37

by magikid

untitled 0:13

by magikid

untitled 0:10

by magikid

untitled 0:23

by magikid