Upload online GitHub warehouse code: https://blog.csdn.net/qq_37194189/article/details/130313061
1. Copy the warehouse address and create a new empty folder locally
2. Clone the remote repository
git clone 仓库地址
3. Pull the remote warehouse
cd 远程仓库名 //根据自己的远程仓库名输入,这里本地不会变,会改线上
git pull origin master
4. View the files in the repository
dir //There is no success here, actually look at it
5. Select the folder you want to delete to delete
git rm -r --cached 想要删除的文件夹
git rm -r --cached * //这里是全部删除
6. Submit removal instructions
git commit -m '删除了trash' # 提交删除文件夹说明
7. Update the GitHub remote repository
git push -u origin master
operation complete