启动 git commit 命令时,Ubuntu 12.04 上的 Nano 出现问题。当我启动一个提交(例如, git commit -a -m "some text")时,它会调出 Nano,它对任何 kb 命令(包括底部菜单上的 ctrl- 命令)完全没有响应。
以下是 Nano 显示的内容:
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# Committer: root <root@user-Ubuntu.(none)>
#
# On branch master
#
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: controller/ContactsController.php
# new file: index.php
# new file: model/ContactsGateway.php
# new file: model/ContactsService.php
# new file: model/ValidationException.php
# new file: view/contact-form.php
# new file: view/contact.php
# new file: view/contacts.php
# new file: view/error.php
#
任何帮助,将不胜感激。
谢谢!