简述 有时候我们想删除github中的某个项目的指定文件夹,发现并不是那么容易找到操作按钮,其实我们可以在终端中用命令操作。 方法 git rm -r --cached <directoryName> git commit -m "Remove the directory of ..." git push origin <branchName>