SyntaxFix
Write A Post
Hire A Developer
Questions
git rm --cached will remove it from the commit set ("un-adding" it); that sounds like what you want.
git rm --cached