luozhangyou 发表于 2020-3-31 23:12:32

git commit 提交不了 error: pathspec 'project'' did not match any file(s) ...

解决方法:将单引号换成双引号就行了
在Linux系统中,commit信息使用单引号包括,windows系统,commit信息使用双引号。所以在git bash中git commit -m '提交说明' 这样是可以的,但是在win命令行中就要使用双引号。


页: [1]
查看完整版本: git commit 提交不了 error: pathspec 'project'' did not match any file(s) ...