remove folder from push git code example
Example: delete a folder then git push
rm -rf folder_or_file_to_delete
git add .
git commit -m "file/folder deleted"
git push origin master
rm -rf folder_or_file_to_delete
git add .
git commit -m "file/folder deleted"
git push origin master