1.设置你的用户名和邮箱,git可以用bash或者TortoiseGit两个工具进行操作,都需要分别设置用户名信息:
bfire2015
bfire2013@gmail.com
$ git config —global user.name “bfire.lai”
$ git config —global user.email “bfire.lai@corp.to8to.com”
- 生成ssh key: 在任意目录下右键进入”git bash here”
生成的key带上的土巴兔邮箱:ssh-keygen -t rsa -C “bfire.lai@corp.to8to.com”
git clone git@repo.we.com:operation/tboss.git -b dev
git clone git@repo.we.com:operation/tboss.git -b dev
git@repo.we.com:operation/tboss.git
git clone git@repo.we.com:operation/tboss.git