3 ms·
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 st
by weaksauce 15y ago
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.