git清理历史文件 上传服务器 reset --hard 最新的版本号 filter-branch --force --index-filter 'git rm --cached --ignore-unmatch recserver2017*' --prune-empty --tag-name-filter cat -- --all push origin master --force --allrm -rf .git/refs/original/ reflog expire --expire=now --all gc --prune=now gc --aggressive --prune=now 下载客户端 git fetchgit reset --hard origin/masterrm -rf .git/refs/original/git reflog expire --expire=now --allgit gc --prune=nowgit gc --aggressive --prune=now git服务器 cd xxx.gitrm -rf ./refs/original/git reflog expire --expire=now --allgit gc --prune=nowgit gc --aggressive --prune=now 赞微海报分享
近期评论