text 创建本地分支并将其推回到远程

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 创建本地分支并将其推回到远程相关的知识,希望对你有一定的参考价值。

In Git 1.7.0 and later, you can checkout a new branch:

git checkout -b <branch>
Edit files, add and commit. Then push with the -u (short for --set-upstream) option:

git push -u origin <branch>
Git will set up the tracking information during the push.

以上是关于text 创建本地分支并将其推回到远程的主要内容,如果未能解决你的问题,请参考以下文章

在本地和远程重命名 Git 分支? [复制]

Git----创建远程分支,并将文件上传到创建的远程分支上

RHEL上的Git设置

Git----创建远程分支,并将文件上传到创建的远程分支上

TortoiseGit- 创建本地新分支,提交推送到远程,本地新分支合并到工作分支,提交到远程工作分支等。

git创建本地分支的应用实践