设置账号密码

text
1
git config --global user.name "116445324"

设置邮箱

text
1
git config  --global user.email "jiaxi.shao@farben.com.cn"

克隆

text
1
git  clone git@code.aliyun.com:GREE/AutomationProject-Code.git

拉取密钥

text
1
git clone git@code.aliyun.com:GREE/AutomationProject-Code.git

查看当前分支

text
1
git branch -a

图片的描述

选择分支

text
1
git checkout dev

拉取代码

text
1
git pull

git remote 不带参数,列出已经存在的远程分支
图片的描述