Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
m0zzie
· 2y ago · 0 comments
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?!
Comments
[–]
anbotero
2y ago
Same here. Just make it an alias: ds.
I’m using git dc, but it seems ds may be my new one, haha.