在引用或提交等之后转义 git bash

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7842727/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 00:59:08  来源:igfitidea点击:

Escaping git bash after reflog, or commit, etc

gitbash

提问by Morgan Delaney

When I'm using something like git reflog, I lose my ability to type in commands. I don't know what you look up, because I'm relatively new to bash.

当我使用 git reflog 之类的东西时,我失去了输入命令的能力。我不知道你在看什么,因为我对 bash 比较陌生。

So, what's the terminology I can use to go back to running git commands after running a reflog?

那么,在运行 reflog 后我可以使用什么术语来返回运行 git 命令?

回答by manojlds

Press qfor quit and you will be back to the normal shell. CTRL + C would work as well.

q退出,您将返回到正常的外壳。CTRL + C 也可以。

回答by Moh Alaraabi

Type qfor git bash and :wqthen pressing enter for GitHub

键入q的混帐bash和:wq然后GitHub上按ENTER键