gpt4 book ai didi

git - 弧形土地 "Not possible to fast-forward, aborting."

转载 作者:太空狗 更新时间:2023-10-29 14:27:14 27 4
gpt4 key购买 nike

我正在尝试着陆我的 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 ,没有遇到任何问题/冲突。不知道下一步该做什么/尝试什么。

最佳答案

试试这个:

  1. git stash(通过 git stash list 确保它是你唯一的存储)
  2. git checkout master(切换到您的master 分支)
  3. git branch -D arcpatch-D37(删除旧分支)
  4. git reset --hard origin/master(重置当前分支)
  5. git pull(更新master分支)
  6. arc patch D37(创建一个新分支)
  7. arc land(登陆吧!)

关于git - 弧形土地 "Not possible to fast-forward, aborting.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23364339/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com