How to remove a directory from git repository?

Remove directory from git and local

Remove directory from git but NOT local

If you want to remove this directory from git but not delete it entirely from the filesystem (local) use the below command:

Leave a Reply