參考鏈接 遠(yuǎn)程倉庫版本回退方法 git reset --hard commit_id git push -f 其它拉過代碼的,強(qiáng)制用遠(yuǎn)程master覆蓋掉本地mastergit reset --hard origin/master