Written by Aaron Bell
Git tracking differs from staging
I learned some Git principles and judo:
- tracking differs from staging:
git diffis “staged - working directory”. git diff –staged is “commit - staged”.
git status -sgives a concise description of what’s untracked, modified, and whether the modification is staged or not.
- the “/[name]” ignores things in the current directory.
- “[name]” ignores things of a given name in all directories… more powerful than expected