Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, TIL `git diff --staged` exists and is an alias to `git diff --cached`, which I have used for many years. "staged" certainly feels more intuitive, but will I ever be able to undo this muscle memory?!


Same here. Just make it an alias: ds.

I’m using git dc, but it seems ds may be my new one, haha.




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

Search: