Re: staging specific lines out of a hunk for a commit

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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/

Re: staging specific lines out of a hunk for a commit

From: Graeme Geldenhuys <hidden>
Date: 2016-06-15 22:49:35

On 21 September 2010 13:31, Matthieu Moy wrote:
Otherwise, "git add -p", 'e' for 'e'dit, and delete the parts you
don't want.
Ha, I was wondering about that, but wasn't sure if it would be
accepted or cause problems. Thanks for the tip.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help