Page MenuHomePhabricator

Option --pull-rebase to `arc feature`
Closed, WontfixPublic

Description

I think this option could minimize the risk of conflict during arc land

arc feature feature_a --pull-rebase origin master

should do this same as:

git checkout master
git pull --rebase origin master
git checkout -b feature_a

To be honest, in my opinion this should be default settings

Event Timeline

noisy raised the priority of this task from to Normal.
noisy updated the task description. (Show Details)
noisy added a project: Arcanist.
noisy added subscribers: noisy, epriestley.

for now I achieved something similar by:

.arcconfig
{
    "arc.feature.start.default" : "origin/master",
    "aliases" : {
      "new-feature" : [
          "!git fetch origin;arc feature"
      ]
    }
}
epriestley lowered the priority of this task from Normal to Wishlist.Jun 21 2014, 2:36 PM
epriestley claimed this task.

You can use arc alias to define some arc pull-then-feature.