As per http://pivotallabs.com/git-unadd/, you can ‘unget’ a file.
git config --global alias.unadd "reset HEAD"
You can then do the following:
git unget file
Very useful, any so much easier to remember than:
git reset HEAD file
As per http://pivotallabs.com/git-unadd/, you can ‘unget’ a file.
git config --global alias.unadd "reset HEAD"
You can then do the following:
git unget file
Very useful, any so much easier to remember than:
git reset HEAD file