Hacker News new | past | comments | ask | show | jobs | submit login

git diff --cached is one I need to remember.



`git diff --staged` is the same thing. Git did a very halfhearted move to the `stage` verb and then stalled.


I have two aliases that I use all the time.

`gd`

and

`gdc`

I'm sure you can figure out what each of those means.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: