-
创建本地分支并推送到远程仓库
# 创建本地分支 git checkout -b <localBranch> # 将本地分支推送到远程 git push origin <localBranch>:<remoteBranch> # 将当前的本地分支绑定到远程 git push --set-upstream origin <remoteBranch> # 然后就可以愉快地开发了
-
拉取远程新分支
# <locakBranch>: 设置远程分支在本地的命名 # <remoteBranch
Git——本地分支&远程分支
最新推荐文章于 2023-09-20 23:36:22 发布
