Last Updated: February 25, 2016
·
467
· andrewfenn

Commit only part of a file with git

You can stage selected modifications of a file by using the -p option in git.

git add -p