you probably need this alias:

git config --global alias.ds 'diff --staged'

always good to reference what's in your staging area before you commit, because you should already be using `git add -p` to stage only logical groupings of code, right? :)

· · Moa · 2 · 0 · 1

@jb55 I use magit in emacs and it changed the way I use git totally. It has all these stuff. Incremental/selective staging of hunks is just a matter of selecting the parts from the diff and staging them. It is by far the best UI I have ever used for git.

@vu3rdd i used to use magit, loved it. don't use emacs anymore though :(

@harding @jb55

YIL about git add -p
TIL about git crecord

Thank you both! ❤️

Sign in to participate in the conversation
Bitcoin Mastodon

Bitcoin Maston Instance