Android Studio中git新建远程(remote)branch?
来源:互联网 发布:若宇网络 编辑:程序博客网 时间:2024/06/05 15:40
新建远程branch有两种方式:
方式一:命令行 git push origin <branch-name>,branch-name就是你要新建的远程branch的名称。你可以用git bash或者Android Studio中的Terminal敲命令行。
方式二:直接通过Android Studio来创建远程branch,很简单,一步就可以了。我直接上图:
下面图中你看到远程的branch就两个:master和nick
接下来,我Push我当前的branch到远程,看下图红线框起来的地方,checkbox打√,然后后面输入你想创建的远程branch的名称。
这里注意下,如果你输入的名称是已经存在的,那么代码会提交到已经存在的branch中,不会再创建branch了。
push后,查看branch列表,ok,创建成功了。如果不会查看branch列表,请戳这:Android Studio如何查看branch列表及切换branch
0 2
- Android Studio中git新建远程(remote)branch?
- Android Studio中Git更新本地的远程(remote)branch列表?
- Git remote branch 远程分支管理
- 新建远端分支,git branch & git remote & origin master
- Checkout remote Git branch
- git branch&&rebase&&remote
- git新建branch
- Android Studio中Git的使用--新建Git项目步骤
- Git notes about remote branch
- git 删除 remote branch索引
- Git Push create remote branch
- git中local branch追踪remote branch http://www.cnblogs.com/freefish12/p/5819134.html
- Android studio svn 新建branch/tag 合并分支
- Git新建本地分支与远程分支关联问题:git branch --set-upstream
- Git新建本地分支与远程分支关联问题:git branch --set-upstream
- Git新建本地分支与远程分支关联问题:git branch --set-upstream
- 删除git branch -a 中不存在的远程分支
- Git: Delete a branch (local or remote)
- 2>&1 and 1>&2
- (五)u-boot2013.01.01 for s5pv210:《移植前的准备及u-boot初编译》
- hibernate学习之——one-to-many(双向一对多关系)
- fghgfhfghfghfghfghfgh
- 编辑文章 - 博客频道 - CSDN.NET
- Android Studio中git新建远程(remote)branch?
- HDUJ 1242 Rescue 搜索
- SqlServer_关联表、链接表、合并表-多对多表关系的解决方案;
- C++ 四种强制类型转换
- dfgdfhgfhgfhfh
- 位运算小技巧。
- 用数组公式提取区域中的重复值
- POJ 1984 Navigation Nightmare 二维带权并查集
- 网络最大流