Sublime Text是我的核心编辑器的命令是什么? [英] What is the command to make Sublime Text my core editor?
本文介绍了Sublime Text是我的核心编辑器的命令是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
在提示中输入此命令:
git config --global core.editorC:/ Program Files / Sublime Text 2 / sublime_text.exe
当提示提交消息或任何其他版本任务时,它会弹出,但如果它已经打开,它不会因为它使用相同的实例工作。不知道如何解决这个问题。
So I'm trying to set up GitHub for the first time ever and I want Sublime Text to be my core editor, how exactly do I do that? Sorry if this is a noob question, I am a noob :/
解决方案
Enter this command in a prompt:
git config --global core.editor "C:/Program Files/Sublime Text 2/sublime_text.exe"
It will then pop up when prompted for a commit message, or any other edition task, but if it was already open it won't work since it uses the same instance. Don't know how to workaround this.
这篇关于Sublime Text是我的核心编辑器的命令是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文