删除服务器文件,本地保留
git rm --cached xxx.log
git commit -m "remove file from remote repository"
git push
删除远程xxx 文件夹,本地保留
git rm --cached -r xxx
git commit -m "remove directory from remote repository"
git push
删除服务器文件,本地保留
git rm --cached xxx.log
git commit -m "remove file from remote repository"
git push
删除远程xxx 文件夹,本地保留
git rm --cached -r xxx
git commit -m "remove directory from remote repository"
git push