|
|
@@ -55,6 +55,8 @@ CRM项目多版本并行管理基础版本
|
|
|
如 git push swaggers swaggers:master
|
|
|
|
|
|
git pull remotehost remotebranch localbranch 从remotehost主机拉取remotebranch分支代码到localbranch分支
|
|
|
+
|
|
|
+ git checkout -b 本地分支名 origin/远程分支名 将远程git仓库里的指定分支拉取到本地(用于从远程仓库获取本地不存在的分支)
|
|
|
|
|
|
git push [<host>] [<localbranch>][:<remotebranch>] 推送代码,host默认为origin,localbranch默认为当前分支,remotebranch默认为当前分支追踪的分支
|
|
|
当remotebranch不存在时,会在远程主机新建一个同名分支
|