3 ms·
There's also git add -e, which I find to be more powerful as it gives you the ability to choose the context of the changeset you're going to be staging by glob.
by erso 14y ago
There's also git add -e, which I find to be more powerful as it gives you the ability to choose the context of the changeset you're going to be staging by glob.
I wrote a blog post about it here: http://pivotallabs.com/users/khicks/blog/articles/2116-git-add-e http://pivotallabs.com/users/khicks/blog/articles/2116-git-a...
There's also git reset -p, which is also in the same realm as git add -e as far as how powerful/advanced it is, though perhaps more difficult to comprehend. I wrote a blog post on that one, too: http://pivotallabs.com/users/khicks/blog/articles/2114-git-reset-p http://pivotallabs.com/users/khicks/blog/articles/2114-git-r...