Ubuntu下git提示:终止提交因为提交说明为空。

这么简单的问题居然搜索了一会儿,现在的网络环境越来越差了。

解决方法:

gedit:
git config --global core.editor "gedit -s"

the paramater "-s " means set the gedit mode to "standalone"

Sublime Text 2
git config --global core.editor "subl -w"

the paramater "-w" means return until the file was closed.

参考:https://www.cnblogs.com/maadiah/archive/2012/02/27/2369931.html

相关推荐

  1. Ubuntugit提示终止提交因为提交说明

    2024-01-14 01:54:01       70 阅读
  2. git 提交目录

    2024-01-14 01:54:01       47 阅读
  3. IDEA GIt 提交提示 “Contents are identica“

    2024-01-14 01:54:01       38 阅读
  4. 项目提交git仓库流程

    2024-01-14 01:54:01       112 阅读
  5. Git 忽略提交 .gitignore

    2024-01-14 01:54:01       56 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-14 01:54:01       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-14 01:54:01       101 阅读
  3. 在Django里面运行非项目文件

    2024-01-14 01:54:01       82 阅读
  4. Python语言-面向对象

    2024-01-14 01:54:01       91 阅读

热门阅读

  1. 【洛谷】P2709 小B的询问——莫队问题

    2024-01-14 01:54:01       70 阅读
  2. C++系列十六:枚举

    2024-01-14 01:54:01       57 阅读
  3. spring动态控制定时任务

    2024-01-14 01:54:01       66 阅读
  4. 行分类问题

    2024-01-14 01:54:01       59 阅读
  5. argc和argv参数

    2024-01-14 01:54:01       71 阅读
  6. SpringSecurity入门demo(三)多用户身份认证

    2024-01-14 01:54:01       66 阅读