首页 > 解决方案 > 在 git 中调用 sublime 编辑器

问题描述

如何在 Windows 10 中的 git 中调用 sublime text editor。我使用别名 np="/c/Program Files/Notepad++/notepad++.exe" 执行此操作,但这是暂时的,我想将其作为 np 永久调用

标签: windowsgitwindows-10

解决方案


来自github 文档

git config --global core.editor "'c:/program files/sublime text 3/subl.exe' -w"

推荐阅读