git删除远程文件

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_35119182/article/details/87002512
git rm -cached a.txt    // 文件夹  加入-r

git commit -m "test a.txt"

git push origin master:master

猜你喜欢

转载自blog.csdn.net/qq_35119182/article/details/87002512