在关闭 Notepad++(别名)窗口之前,Git 无法工作

问题描述 投票:0回答:1

我在 Git 中为 notepad++ 创建了一个别名。 我尝试将 notepad++ 设置为 core.editor,但我不确定是否我不知道如何使用它,或者它根本不起作用。

所以我用了

alias notepad="D:/Notepad++/notepad++.exe"
。运行
notepad readme.txt
后,它会打开一个记事本 ++ 窗口,但在关闭记事本之前我无法在 Git 中运行其他任何内容。 (https://i.stack.imgur.com/WzxZC.png) 关闭窗口后,我可以再次运行命令。 (https://i.stack.imgur.com/VELGY.png)

谢谢!

git notepad++
1个回答
0
投票
    alias 

notepad="D:/Notepad++/notepad++.exe" 记事本自述文件.txt

尝试看看那个

© www.soinside.com 2019 - 2024. All rights reserved.