git 如何在mac终端中退出插入屏幕
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/40895725/
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-19 12:28:00 来源:igfitidea点击:
How to exit the insert screen in mac terminal
提问by kavin Rakshan
Merge branch 'develop' into peakfront
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
"To get updated code in my branch"
-- INSERT --
I have typed this, but I cant find a way to save this and exit, so that I could work on terminal. What command am I to use here?
我已经输入了这个,但我找不到一种方法来保存它并退出,这样我就可以在终端上工作。我在这里使用什么命令?
回答by prabodhprakash
Press esc, then colon (:) and then enter on keyboard wq to save and exit.
按 esc,然后按冒号 (:),然后在键盘上输入 wq 以保存并退出。
If you wish to just quit, without saving, write q without w
如果你想直接退出,不保存,写 q 不带 w