停止git上传_git – rebase正在进行中 不能提交如何进行或停止(中止)?

博客讲述了在执行git操作时遇到的问题,运行git status显示处于rebase进程中,执行git rebase --continue无反应,作者不知如何解决。还给出了git rebase --continue的输出提示,如可使用git rebase --skip或git rebase --abort等操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

当我跑:

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

我被卡住了。我不知道该怎么办?真的需要这么长时间才能修复吗? git rebase –continue不做任何事情。我没有任何的git状态..我只是等待rebase。我能做什么?

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".

git add。没有什么

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值