原文地址:http://suanfazu.com/discussion/comment/18
使用命令:
git reset --hard ORIGIN/BRANCH
比如master分支:
git reset --hard origin/master