3 ms·
Use git add -p <file> And you'll go straight to the patch option. Then you can split the chunks further, and for hunks that can't be split further, you can edi
by imron 5y ago
Use git add -p <file>
And you'll go straight to the patch option. Then you can split the chunks further, and for hunks that can't be split further, you can edit them and add/remove lines from the hunk as needed.
- etripe 5y agoThanks, didn't know about that shorthand!