Search posts, tags, users, and pages
Hitesh Pal
Web Developer
Git commands you may never know but can be very useful in certain situations. First let's discuss in short what is git. What is Git? Git is a free and open-source Distributed Version Control system. Real-life projects have multiple developers workin...
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.
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.
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.