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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Graeme Geldenhuys <graemeg.lists@xxxxxxxxx> writes:

> On 21 September 2010 12:52, Bert Wesarg wrote:
>>
>> 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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]