1、选中整个项目,右键team,再选择reset,就会弹出一个界面
2、再选择remote tracing,如果你的代码是分支的,请选择origin/branch,如果你的代码是主干的,请选择origin/master(我这是分支的)