git - 为什么终端在 ubuntu 中 merge 时会切换到 nano 控制台?

标签 git ubuntu merge nano terminator

只有在 merge 时,终端 || 终结者两者都切换到 ubuntu 14.01 中的 nano 控制台,我在这里感到震惊。无法移出它并且需要花费太多时间来更新,但是 Windows 不会导致任何此类问题。

任何人都曾面对过。如何克服这一点?我不想切换到 GNU nano 2.2.6 安慰。

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.



请协助解决此问题。

最佳答案

检查您的 $EDITOR环境变量以及git config core.editor的设置.其中之一可能设置为 nano .

关于git - 为什么终端在 ubuntu 中 merge 时会切换到 nano 控制台?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29897380/

相关文章:

sql - 如何合并2个完全不同的表?

python - 如何合并字典,从匹配的键中收集值?

git - 理解gitk的指南?

ruby-on-rails - Ubuntu 14.04、Ruby on Rails 和 GEOS

git svn fetch : Could not unmemoize function `check_cherry_pick' , 因为它一开始没有被内存

apache - 用于在本地设置 Apache 服务器的 Ansible Playbook 与主机不匹配

c - 用于在 Linux 中创建库的 Makefile 无法编译

git safe rebase 或 "try rebase, fallback to merge"

ruby-on-rails - 安装 Gitorious 后出现 Ultrasphinx 错误

git - 对错误放置的 .git 目录进行故障排除(无需提交)