Git 2 · Committing

Stage parts of a file

Choose which hunks of a file to stage.

git add -p

Official Git 2 documentation

More committing commands

All committing commands · Git 2 cheatsheet

Was this page helpful?