我正在尝试着陆我的 arc 补丁。我是最新的 origin/master,我的补丁已经过审核并被接受。在 phabricator 网站上说:Next Step arc land 'arcpatch-D37'
。
但是如果我使用 arc patch D37
然后使用 arc land
我会遇到问题。
一 pull 就断了:
Switched back to branch ←[1marcpatch-D37←[m.
[2014-04-29 14:06:50] EXCEPTION: (CommandException) Command failed with error #1
28!
COMMAND
git pull --ff-only --no-stat
STDOUT
(empty)
STDERR
fatal: Not possible to fast-forward, aborting.
at [D:\arcanist\libphutil\src\future\exec\ExecFuture.php:398]
我先尝试 pull ,没有遇到任何问题/冲突。 不知道下一步该做什么/尝试什么。
最佳答案
试试这个:
git stash
(通过git stash list
确保它是你唯一的存储)git checkout master
(切换到您的master
分支)git branch -D arcpatch-D37
(删除旧分支)git reset --hard origin/master
(重置当前分支)git pull
(更新master分支)arc patch D37
(创建一个新分支)arc land
(登陆吧!)
关于git - 弧形土地 "Not possible to fast-forward, aborting.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23364339/