Posts tagged with staging

Stage only part of a file in git

In order to add only some lines of a file for committing, use git add -p <filename>. If the file is new, use git add -N <filename>. Look up this ...