[英]What are the differences between arc feature [branch-name] and git branch [branch-name]?
What are the differences between arc feature [branch-name]
and git branch [branch-name]
? arc feature [branch-name]
和git branch [branch-name]
之间arc feature [branch-name]
什么区别?
They both seem to create a new branch. 他们似乎都创建了一个新的分支。
arc feature [branch-name]
will: arc feature [branch-name]
将:
git branch [branch-name]
will only create a branch based from the commit you currently have checked out. git branch [branch-name]
只会根据您当前签出的提交创建一个分支。
If you are using the Arcanist workflow, it is strongly recommended to use arc feature
for your branches as this tends to lend itself well to the followup commands of arc diff
and arc land
. 如果您正在使用Arcanist工作流程,强烈建议您为分支使用arc feature
,因为这往往非常适合arc diff
和arc land
的后续命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.