windows - 在 git 中调用 sublime 编辑器
问题描述
如何在 Windows 10 中的 git 中调用 sublime text editor。我使用别名 np="/c/Program Files/Notepad++/notepad++.exe" 执行此操作,但这是暂时的,我想将其作为 np 永久调用
解决方案
git config --global core.editor "'c:/program files/sublime text 3/subl.exe' -w"
推荐阅读
- python - Python:读取目录中的所有文件以在while循环中观看
- amazon-web-services - 与 IoT Core 通信需要谁的访问密钥和密钥?
- excel - Excel js 加载项访问 Outlook/创建电子邮件
- php - 匹配确切的单词在php中的字符串中是否可用
- svg - 我可以在 Froala 中使用 Font-Awesome 而不更改为 svg
- binaryformatter - 有没有一种高性能的方法来替换 .NET5 中的 BinaryFormatter?
- python - 用于验证 JSON 和正确 json 的 python 脚本
- java - 是否可以根据次数停止警报管理器
- http - 如何从 ClientRequest 返回两个变量?
- c# - 输出字段值相同的记录