Possible Duplicate:
How do I enter an exclamation point into a git commit message from the command line?
I’m new to git, and I did this command:
git commit -m "First Commit!"
This throws an error like this:
bash: !": event not found
Why is this error happening? Is is that in Git, I shouldn’t use ! symbols in commit?
Are there other symbols which I shouldn’t use or should escape with any escape sequence?
Nothing to do with git, more to do with bash – escape the
!or use single quotes, i.e.or, better: