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

[gits] Achievement Unlocked: git add -e

Ahh, I usually use 'git add -p' for this purpose, but I think I like -e 
better now that you've pointed it out. (-p shows you the diff hunks one 
by one and asks if you want to include each)

On 8 Mar 2013, at 16:32, Eric Eide wrote:

> Today I used "git add -e" for the first time.  This let me divide two 
> unrelated
> changes in a single file across two commits.  Schweet.
> -- 
> -------------------------------------------------------------------------------
> Eric Eide <eeide at cs.utah.edu>  .         University of Utah School of 
> Computing
> http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 
> 581-5843 FAX