Undo git add
How to undo/remove file after 'git add'
Lets say you mistakenly added a file using the following command.
To undo adding run the following.
Dont do git reset, you will loose changes
https://stackoverflow.com/questions/348170/how-do-i-undo-git-add-before-commit
Last updated