ios - 如何提交本地分支到coding某个分支(不是master 分支)
黄舟
黄舟 2017-04-18 09:47:53
0
5
509

提交本地分支到coding某个分支(不是master 分支)时提示分支不存在,mac命令行查了所有分支也没看到这个分支,但登录coding 时可以看到这个分支。如何提交本地分支到coding上的这个分支(不是master 分支)?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(5)
左手右手慢动作

git push origin test:test

In addition, git fetch will update the local branch to be consistent with the server

迷茫

Is the coding branch remote? If it is remote, you should check it out locally first and then submit it.

大家讲道理

Forced recommendation will cover the branches on the server

阿神

Are you running git in the terminal? If so, you need to use git checkout branchName切换到该分支,然后你在终端运行git branch before you can see the branch for the first time, try it

伊谢尔伦

In git bash中切换分支然后pushgit checkout yourname, Sloris will switch to your branch, just submit it here. Don't know if this is the case for you.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template