Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 emacs 插件 magit 找不到正确的 git 路径。
看了magit的源码,发现magit用这个shell命令找git:
git.exe -c "alias.exe=!which git | cygpath -wf -" "exe"
我不明白这个shell命令。
但它返回了错误的 git 路径。
环境:</p>
os: windows 10 git: 1.9.0.msysgit.0 emacs: 24.5 magit: 2.4.0