DEV Community

Discussion on: Stage with confidence using git add -p

Collapse
 
lukad profile image
Luka Dornhecker • Edited

I often use add -p to split my changes into several smaller commits that make sense on their own instead of creating one giant commit.

I also use it to review my changes before committing.