Last Updated: February 25, 2016
·
461
· raphaelstolt

Remove staged files that haven't been commited yet

In case you added some files to early via git add and you want to undo that step just run git rm [-f] --cached <path/to/file1> <path/to/fileN>. The -f(orce) flag is required if file1 or fileN have been edited in the meanwhile.