Github often need to delete a file or folder, if only deleted files may also delete the site where, but when you want to delete more files, one simply delete a terrible ~~~
By way of deleting git
-
First, we will clone the entire warehouse to the local
git clone https://github.com/***
-
Choose to delete a file or folder
git rm FILE
git rm -r FILES
-
Submit the above operation
git commit -m "log message"
-
Push all the files to a remote repository
git push
This time we see this project go on github, you can see have been updated
Reference Links: https://www.jianshu.com/p/b4f93946a27d