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