大家好,我是vscode的新手,我尝试使用多个单词在vscode上进行提交,如“我编辑forms.py”中出现这些错误
(django1901) D:\django-practice\model_form\modelapp>git commit -m 'I edited forms.py'
error: pathspec 'edited' did not match any file(s) known to git.
error: pathspec 'a' did not match any file(s) known to git.
error: pathspec 'file'' did not match any file(s) known to git.
请我帮忙解决这个问题
答案 0 :(得分:0)
使用双引号而不是单引号可以解决问题:
示例:
git commit -m "I edited forms.py"