如何解决变基正在进行中不能提交如何继续或停止中止?
Rebase 不会在后台发生。“rebase in progress”表示您开始了 rebase,并且 rebase 由于冲突而中断。您必须恢复变基 (git rebase --continue
) 或中止它 ( git rebase --abort
)。
正如错误消息git rebase --continue
所暗示的那样,您要求 git
应用一个导致空补丁的补丁。最有可能的是,这意味着补丁已经应用并且您想使用git rebase --skip
.
解决方法
当我运行时:
git status
我看到这个:
rebase in progress; onto 9c168a5
You are currently rebasing branch 'master' on '9c168a5'.
(all conflicts fixed: run "git rebase --continue")
nothing to commit,working directory clean
当我做:
ls `git rev-parse --git-dir` | grep rebase || echo no rebase
我看到了:rebase-apply
我不能承诺起源。
git branch
显示:
* (no branch,rebasing master)
develop
master
我被困住了。我不知道该怎么办?rebase真的需要这么长时间吗?git rebase --continue
不做任何事情。我在 git status
中没有任何东西。我只是在等待变基。我能做些什么?
UDATE:这是输出: git rebase –continue
Applying: no message
No changes - did you forget to use 'git add'?
If there is nothing left to stage,chances are that something else
already introduced the same changes; you might want to skip this patch.
When you have resolved this problem,run "git rebase --continue".
If you prefer to skip this patch,run "git rebase --skip" instead.
To check out the original branch and stop rebasing,run "git rebase --abort".
混帐添加。什么都没有。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。