我在嘗試在git中提交時出現錯誤。是什麼原因?我想一切都很好。Git提交命令獲取路徑規範的錯誤
[email protected]:~/workspace/abproject$ git commit -m 「First commit of assignment2_farooq」
error: pathspec 'commit' did not match any file(s) known to git.
error: pathspec 'of' did not match any file(s) known to git.
error: pathspec 'abproject」' did not match any file(s) known to git.
看起來你正在使用某種排印引號,而不是shell所期望的引號(''''或''') – larsks
'git status'顯示了什麼?你做了一個'git add 。第一個? – Ramzendo