1.创建本地仓库
$ git init
2.与远程仓库建立联系
$ git remote add origin (复制的远程地址) 。
3.确定你需要拉的分支名
$ git fetch origin chongfu (远程分支)。
4.本地创建的分支与远程分支相互连接
$ git checkout -b(本地分支名) origin/ chongfu(远程分支名)。
5.成功拉到本地仓库
git pull origin chongfu。
$ git init
$ git remote add origin (复制的远程地址) 。
$ git fetch origin chongfu (远程分支)。
$ git checkout -b(本地分支名) origin/ chongfu(远程分支名)。
git pull origin chongfu。