git:我得到了“am / rebase”在我的提示中,该怎么办? [英] git: I got "am/rebase" in my prompt, what to do?

查看:943
本文介绍了git:我得到了“am / rebase”在我的提示中,该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道我有什么触摸,但现在我已经在我的提示中提到了这一点:

(master | AM / REBASE )



我该怎么办?

听起来就像你不小心触发了一个 rebase
下面的命令将中止rebase进程并将HEAD重置为原始分支。

  git rebase --abort 

详细了解 git rebase 一个href =http://git-scm.com/docs/git-rebase =nofollow>这个页面。如果你打算用git做很多工作,这真的是你想知道更多的东西。


I don't know what I have "touch" but now I have in my prompt this:

(master|AM/REBASE)

what should I do?

解决方案

Sounds like you somehow accidentally triggered a rebase. The command below will abort the rebase process and reset HEAD to the original branch.

git rebase --abort

Read more about the wonderful git rebase on this page. If you're going to be working with git a lot, this is really something you will want to know more about.

这篇关于git:我得到了“am / rebase”在我的提示中,该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆