文件名中的“ +”字符导致git blame失败

时间:2018-08-26 16:59:02

标签: git git-blame

我运行命令git blame --show-email foo.txt,它可以工作。但是我运行另一个命令git blame --show-email foo+bar.txt并得到:

  

致命:HEAD中没有这样的路径'ParentDir / Foo + Bar.txt'

我为“ git blame +字符错误”,“ bash处理特殊字符”,“文件名末尾加号错误”以及其他大约20个变体运行了Google,并获得了0%的洞察力。

这是bash,git还是git-blame问题?如果是这样,我如何清理/修改该命令?

0 个答案:

没有答案
相关问题