git commit 报错pathspec ‘commit‘‘ did not match any file(s) known to git

用git提交的时候,报错

pathspec 'commit'' did not match any file(s) known to git

后来发现用单引号提交报错,改成双引号就成功了

git commit -m "first commit"

猜你喜欢

转载自blog.csdn.net/weixin_44401120/article/details/114535567