Git branch showing rebase?

时间:2019-03-17 23:02:16

标签: git github

I am learning git right now. I tried to rebase a file a while ago, but cancelled it. Ever since then, I have this showing up in turquoise in my git.

(updatingThesePages|REBASE-i)

but the current branch I am on is 'other' and not 'updatingThesePages'. How can I get out of this?

Thanks!

1 个答案:

答案 0 :(得分:0)

要取消“前一阵子”完成的变基,更完整的命令是(with Git 2.12+) git rebase --quit

这将消除您回购中任何挥之不去的.git/<some rebase dir>