News for hackers. Stuff that matters.
Re:Mercurial vs Git: Why Mercurial? by weaksauce on Thursday February 23, 2012 @04:50PM (#3626951)
git add -i

5<enter>

*<enter>(all changed files) or 1-5<enter>(files 1-5 in the list) or 1,5,3<enter>(files 1, 5 and 3) etc...

then <enter> gets you to the staging that you are used to. this will get you into the quick patch mode that -p does.

-p is just a short circuit of this.

There are no comments on this comment yet.