© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Lee Doolan
programmer
I generally use
git add -e <file> instead of git add -p \<file\>
You can modify the patch hunks with a text editor with git add -e . It is much more convenient in my opinion.
Hitesh Pal
Web Developer
Yeah with git add -e we can do both things(and it's a great feature in git) but sometimes it can be very confusing for me so I use patch instead of edit.