【问题标题】:sitting up sublime as mt text editor作为 mt 文本编辑器的 sublime
【发布时间】:2018-02-14 20:12:32
【问题描述】:

所以我使用 sublime 3 作为我的文本编辑器 $ git config --global core.editor "'C:/Program Files/Sublime Text 3/sublime_text.exe' -n -w" 我认为它有效但是 当我写作时 $ git提交 它应该打开吧? 正如它写在这里

如果您确实配置了您的编辑器,那么继续进行提交 使用 git commit 命令:

$ git commit 记住,你的编辑器应该会弹出,你应该会看到 像这样:

那么为什么它什么都没有发生呢?

【问题讨论】:

    标签: git sublimetext3


    【解决方案1】:

    我发现 github 文档中的命令行与您的略有不同: git config --global core.editor "'c:/program files/sublime text 3/subl.exe' -w"

    Instructionsgithub

    【讨论】:

      猜你喜欢
      • 2012-03-16
      • 2016-06-02
      • 1970-01-01
      • 1970-01-01
      • 2015-08-07
      • 1970-01-01
      • 2011-10-29
      • 1970-01-01
      • 2019-08-27
      相关资源
      最近更新 更多