0
手动设置template-Path之后,我收到了警告templates not found /OurServer/SomeDirectory/GitTemplate
。当我查看repo时,模板中的钩子不存在。但是,当我创建一个新的回购所有钩子被复制。在克隆但未创建时未找到Git模板
路径是Networkpath: 在Windows中:\\ OurServer \ SomeDirectory \ GitTemplate 项在全系统gitconfig:
[init]
templatedir = "//OurServer/SomeDirectory/GitTemplate"
有趣的是路径在配置设置之间的区别://OurServer
并在错误/OurServer
。
如果我将其更改为
[init]
templatedir = "///OurServer/SomeDirectory/GitTemplate"
克隆作品,但随后创建显示错误templates not found ///OurServer/SomeDirectory/GitTemplate
我使用git 2.13在Windows 7上使用MinGW。
有人有建议吗?