- 连接github上的仓库
git remote add origin https://github.com/xxx/xxx.git
- 删除指定的文件夹
git rm -r --cached 文件夹名称
- 提交仓库更新信息
git commit -m 'delete xxx folder'
- 推送到仓库
git push -u origin master
git remote add origin https://github.com/xxx/xxx.git
git rm -r --cached 文件夹名称
git commit -m 'delete xxx folder'
git push -u origin master
本文标题:删除Github上的文件夹
本文链接:https://www.haomeiwen.com/subject/hbroihtx.html
网友评论