sb csdn

刚写玩python习惯了用单引号定义字符串变量,导致我在使用git命令提交的时候,也使用了单引号
git commit -m ‘fix something’

git直接给我报错了,错误内容 : pathspec 'fix' did not match any file(s) known to git

改成双引号后就好了。

猜你喜欢

转载自blog.csdn.net/cssxn/article/details/81335487
sb