4 ms·
This is me all the time. [is writing commit message] Oh wait… What did I change? ^Z git diff --cached Oh yeah. fg
by yakshaving_jgt 6y ago
This is me all the time.
[is writing commit message]
Oh wait… What did I change?
^Z
git diff --cached
Oh yeah.
fg
- for_xyz 6y agoThat workflow seems really slow when dealing with multiple repos/subrepos actively compared to what UI frontends offer. But it's still more efficient method for single repository project where using UI git client would be the overkill.
- gonzus 6y agoYou should be using `git commit -v` then; it will include the full diff of your changes, so you can quickly check them while writing your commit message.
- seemethere 6y agoYeah this is what I use, the only issue being extraordinarily large commits may get bogged down some times. I have no idea why anyone would ever not use this to be honest.