如何在使用git提交时编写完整消息



这就是我使用git:提交的方式

git add -A
git commit -m 'added theme color and image error handling'

但它为提交消息抛出了一个错误:

error: pathspec 'theme' did not match any file(s) known to git
error: pathspec 'color' did not match any file(s) known to git
error: pathspec 'and' did not match any file(s) known to git
error: pathspec 'image' did not match any file(s) known to git
error: pathspec 'error' did not match any file(s) known to git
error: pathspec 'handling'' did not match any file(s) known to git

如何使用git编写完整的提交消息?

如果您是窗口用户,请使用双引号而不是单引号

git commit-m";初始提交";而不是git-commit-m"初始提交">

相关内容

  • 没有找到相关文章

最新更新