Undo a git add

Emmanuel Gautier / October 12, 2014
An unwanted " git add " can happen. That's why there is a command to redo this " git add ". Here the command line to perform this action.
git rm --cached <file>
Emmanuel Gautier / October 12, 2014
An unwanted " git add " can happen. That's why there is a command to redo this " git add ". Here the command line to perform this action.
git rm --cached <file>