git协作

Author Avatar
Marmot 3月 19, 2018
  • 在其它设备中阅读本文章

git协作

1.git clone ssh://**git(clone)
2.git config –global user.name mouwenfeng
3.git config –global user.email mouwenfeng@.com
4.git remote add upstream ssh://*
git(添加一个上游)
5.git fetch upstream/develop(抓取上游到某一个分支,同步到自己到frok)
6.git branch 某一个分支
7.git merge upstream/develop(同步到自己本地)