Last Updated: February 25, 2016
·
465
· 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