What are the differences between the characteristics of the arc [branch-name] and git branch [branch-name]?

What is the difference between arc feature [branch-name] and git branch [branch-name] ?

They seem to be creating a new branch.

+5
source share
1 answer

arc feature [branch-name] will be:

  • Create a commit based branch that you just checked,
  • Set the tracking to the branch you checked (this will track the local branch, not the branch on your remote),
  • Check this thread.

git branch [branch-name] will only create a commit based branch that you just checked.

If you are using the Arcanist workflow, it is strongly recommended that you use the arc feature for your branches, as this is generally well suited for subsequent arc diff and arc land commands.

+7
source

All Articles