4 ms·
I'd love to be able to stash individual bits of a diff (from magit) to do something like bisecting on the current changes. Something like how the current `add
by wiredfool 5y ago
I'd love to be able to stash individual bits of a diff (from magit) to do something like bisecting on the current changes.
Something like how the current `add -p` allows you to select or reject any given chunk.
- jzm2k 5y agoDoesn't git stash save -p accomplish that?
- rawling 5y ago> But what if you only want to store part of your changes in the stash? You could use git stash -p and interactively select hunks to stash or keep. It's even right in the article. (Then goes on to describe how this change means you can stash those chunks easily if you've already selectively staged them.)
- wiredfool 5y agoThe way to get a correct answer on the internet: 1) Post the wrong answer. 2) Get corrected. 3) Profit
- cdrini 5y agoCunningham's Law! "the best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer."