Reputation: 18198
I'm trying to delete the folder mapeditor
from my Java engine on GitHub here (https://github.com/UrbanTwitch/Mystik-RPG)
I'm on Git Bash.. messing around with rm
and -rf
but I can't seem to do it. How do I remove mapeditor
folder from Mystik-RPG
completely?
Thanks.
Upvotes: 1
Views: 13286
Reputation: 98509
You need to git rm
the folder, then git commit
the removal. Finally, git push
your new commit to github.
Just deleting the folder won't tell git you wish to have it removed - that would put it into the "tracked but missing" state. You want it to transition to the "untracked" state, which is what git rm
is for.
Upvotes: 4