Undo a git add

Emmanuel Gautier / October 12, 2014

1 min read

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>
Share this post
Follow the RSS feed

Subscribe to the newsletter

Get the latest news about tech new articles and projects.

Comments