SyntaxFix
Write A Post
Hire A Developer
Questions
Just git rm subdir will be ok. that will remove the subdir as an index.
git rm subdir