【发布时间】:2015-04-15 17:34:49
【问题描述】:
我正在尝试使用include.path config described here,但我似乎无法在 Windows 上找到正确的路径语法。
我当前的 .gitconfig:
[include]
path = 'D:\Scott\Shared\config\common.gitconfig'
但是 git 抱怨:fatal: bad config file line 2 in C:\Users\Scott/.gitconfig
为 Windows 转义路径的正确方法是什么?注意:我使用的是 Powershell 中的 git,而不是 git bash。
【问题讨论】:
标签: windows git powershell path