标题: git commit 提交不了 error: pathspec 'project'' did not match any file(s) ... [打印本页] 作者: luozhangyou 时间: 2020-3-31 23:12 标题: git commit 提交不了 error: pathspec 'project'' did not match any file(s) ... 解决方法:将单引号换成双引号就行了
在Linux系统中,commit信息使用单引号包括,windows系统,commit信息使用双引号。所以在git bash中git commit -m '提交说明' 这样是可以的,但是在win命令行中就要使用双引号。