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
Written by Andrew Fenn
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#