TortoiseGit - 添加 - 致命 - 空字符串不是有效的pathspec

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

尝试从我的项目的根目录右键单击TortoiseGit菜单上的“添加”,我看到这个错误:“致命:空字符串无效pathsepc。请使用。相反,如果你的意思是匹配所有路径.enter image description here

第2部分 - 我可以从所有子目录进行递归添加吗?

git tortoisegit
2个回答
4
投票

https://stackoverflow.com/a/48457419/3906760


TortoiseGit 2.5尚未与Git> = 2.16完全兼容。请参阅https://TortoiseGit.org和相应的错误报告:https://TortoiseGit.org/issue/3138

使用最新的稳定版TortoiseGit:https://tortoisegit.org/download/


1
投票

安装Tortoise Git 2.6解决了这个问题。

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