首先在目标文件夹中空白处点击鼠标右键 第一步 git init 第二步 添加远程地址 git remote add origin git@gitlab.*******.git 远程地址可以在git页面里找到