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>

Consulting

If you're seeking solutions to a problem or need expert advice, I'm here to help! Don't hesitate to book a call with me for a consulting session. Let's discuss your situation and find the best solution together.

Share this post
Follow the RSS feed

Subscribe to the newsletter

Get the latest news about tech new articles and projects.