I am not sure what is going wrong (terminal, shell, system?), but when I enter:
git commit -m "My commit message"
this morning, I get:
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
I have just updated
iTerm2 yesterday, that's all I remember changing recently. I'm on MacOS High Sierra 10.13.6 (not a recent update). My version of
git is 2.19.1,
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17) and
I tried in the Apple provided
2.8.2 (404), with the same
git and got the same error.
GNU bash, version 4.4.23(1)-release (x86_64-apple-darwin17.5.0) and got the same error.
git is not alias.
echo "My Commit" works.
git commit -m "MyCommit" works.
git commit -m "My Commit" works in
csh!!! So somehow it is a
bash thing? What
bash setting could lead to that?