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.
$ git commit -m "First Commit\!" or, better:
$ git commit -m 'First Commit!'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With