Iβve used git for ~7 years now. Yesterday I learned two things I wish I knew all along:
- git rebase βautostash stashes and unstashes local changes for you
- git commit -v adds diffs to commit draft so that you can inspect them as you write commit msg
What else am I missing?
50
202
20
938
I'll admit that I usually just unstage a hunk, then stash, then do other stuff, then unstash and continue. The idea of editing an unstaging hunk sounds terrifying.
Feb 28, 2019 Β· 9:15 AM UTC
1
1



