1. 创建代码仓库。
a.
b.
2. 将本地代码上传仓库。
$ cd E:\code
$ git init
Initialized empty Git repository in E:/code/.git/
$ git remote add origin [email protected]:xxxxxxxxxxxxxxxxxxxxxx.git
$ git add .
$ git commit -m "描述信息frist commit"
$ git push -u origin master
3. 创建分支。
a.
b.
c.
4.添加对外开放的用户。
5. 在开发者本地:
<1>. clone 代码仓库。
<2>. cd 切换到刚拉取的项目中。
<3>. git checkout 分支名 //切换到开发者分支。