git - 无法在 Windows 上使用 atom 在 git bash 中提交
问题描述
我正在尝试将 Atom 设置为 git bash 中的默认文本编辑器。
但是,我无法执行 git commit 命令。
我使用“git config --global core.editor”atom”来得到这个错误:
如果我使用" git config --global core.editor "atom --wait",则错误与powershell有关。
在任何一种情况下,Atom 都可以正常打开,但是在 Aborting 提交消息出现在 bash 中之前,我没有机会编写任何更改,就像这里一样。
我的环境路径变量设置正常(C:\Users\Maria\AppData\Local\atom\bin)
不确定还要检查什么?我在 Windows 7 上。有什么建议吗?
到目前为止,我通过使用 git commit -m "my change" 来解决这个问题——但我希望我可以使用 Atom。
解决方案
推荐阅读
- gitlab - 2 个 GitLab 作业可以将变量保存在同一个 .env 文件中吗?
- c# - 在 Unity 中截取没有 UI 元素的屏幕截图
- testing - Yandex-Tank 从内部通过代理:ProxyError: HTTPSConnectionPool(host='overload.yandex.net', port=443)
- java - Bouncy Castle 无法在使用 OpenJDK 11 和 tomcat 8.5 和 9 的 Ubuntu 服务器机器上运行
- python - Pandas txt 到 csv 输出只显示前两行值,我如何获得完整的数据来显示?
- python - 搜索数据框时 loc 是可选属性吗?
- sql-server - Visual Studio 2019 缺少 SQL CLR VB
- asp.net-core - 由于@page {id} 类型,无法打开剃须刀页面
- postgresql-12 - 致命:抱歉,postgresql-12 中已经有太多客户端,我的连接是否已经正确关闭?
- css - CSS 自定义属性(变量)继承覆盖和取消设置