If you want to remove a folder from your git
repository then simply run these commands into your terminal.
$ rm -rf folder_name
$ git add --all
$ git commit -m "Your commit message"
$ git push origin "branch_name"
These commands will remove that folder from your git
repository of that branch.
Comments