How to delete one folder from git repo?

I have a folder called "Server Project" that I want to delete from my git repository. I can't seem to get rid of this! How to remove it?

enter image description here

+4
source share
1 answer

You can simply delete the folder locally and then click, for example:
rm -rf folder
git add .
git commit -a -m "removed folder"
git push origin master

+39
source

All Articles