GIT 操作

git reset --hard //取消pull
git checkout origin/remoteName -b localName //将远程分支拉到本地
git branch -D localName //删除本地分支
原文地址:https://www.cnblogs.com/huixuexidezhu/p/6857523.html