My guess is, you provide a commit message that contains an exclamation
mark, and you don’t quote it. The error message is giwen by bash, not git.
So instead of

git commit -m Message!

try

git commit -m "Message!"

(You will need the quotes anyway if your commit message contains multiple
words.)

If I’m wrong, could you show us what exact command did you use? Without
that, it’s hard to answer your question.

Best,
Gergely

On Wed, Feb 1, 2017, 16:23 Boubakary Wadjiri Mohammadou <bwmr...@gmail.com>
wrote:

> Hello guys i have difficulties in using the git commit command. Whenever i
> commit i receive this message "bash: !: event not found"
>
> I am using a Windows 10 OS. Need Help. Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to