相关疑难解决方法(0)

Git - How to fix "corrupted" interactive rebase?

I managed to create a little mess in my local git repository. I was trying to fix a broken commit by using the following instructions. Before running the "git commit --amend" (and after the git rebase --interactive) I decided that my changes were incorrect and so I executed "git reset HEAD --hard". Not a good idea, I tell you.

现在,交互式基础似乎被"卡住了".Git将当前分支显示为(| REBASE-m).我的存储库中的每个命令(cd ..,ls,git rebase ...)都会出现以下错误:

cat:.git/rebase-merge/head-name:没有这样的文件或目录

以下是git rebase --abort的样子:

$ git rebase --abort
cat: c:/_work/project/src/git/.git/rebase-merge/quiet: No such file or directory …
Run Code Online (Sandbox Code Playgroud)

git msysgit git-rebase

124
推荐指数
8
解决办法
7万
查看次数

标签 统计

git ×1

git-rebase ×1

msysgit ×1