Reputation: 22899
I accidentally ran 'git add -A'
I haven't run a commit since adding those files and I'd like to undo this command.
I realize that I could manually remove files with
git rm --cached <path_to_file>
However several files have been added since and it would be a lot easier to do something like
git rm --cached <path_to_file> -A
Upvotes: 3
Views: 740