Issue with command git commit -s -m “my commit message w/signoff”

error: pathspec ‘my’ did not match any file(s) known to git
error: pathspec ‘commit’ did not match any file(s) known to git
error: pathspec ‘message’ did not match any file(s) known to git
error: pathspec ‘w/signoff’ did not match any file(s) known to git

This is due to " " , this was because I directly copy it from

Potential Solution:

Instead of git commit -s -m “my commit message w/signoff”
Use: git commit -s -m "my commit message w/signoff"

That’s basically quotes issue " " and “ ”

1 Like