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 Stage all changesCommit staged changesChange the last commit messageSee unstaged changesSee staged changesView history compactly All committing commands · Git 2 cheatsheet ← Stage all changesCommit staged changes →