git fetch --all git reset --hard origin(这个是名称,可以更改)/master (这个是分支名称)
转载自:https://www.cnblogs.com/chenKnowledgeConllection/p/6646292.html