Re: staging specific lines out of a hunk for a commit
From: Matthieu Moy <hidden>
Date: 2016-06-15 22:49:35
Graeme Geldenhuys [off-list ref] writes:
On 21 September 2010 12:52, Bert Wesarg wrote:quoted
Just select the lines you would like to add, and than you can stage them at once.I tried that last night on my home laptop and it didn't work. Trying it now at work, it indeed does work. Clearly my git versions are different - when I thought they were the same. Thanks for the help.
Otherwise, "git add -p", 'e' for 'e'dit, and delete the parts you don't want. -- Matthieu Moy http://www-verimag.imag.fr/~moy/