Use regular quotes (double quotes "
, or quotes '
), fellow :) ¨
is too exotic for bash so it splits down your message into tokens by whitespaces and pass these tokens separately to git
.
In unix-like systems, unlike MS Windows cmd.exe
, (well, MinGW and Cygwin are unix-like too :) ) splitting command line into tokens is peformed by a shell, be it a sh
- or csh
-compatible shell (bash, zsh, ash, sash, ksh, tcsh and so on and so forth). A program receives a ready to use array of arguments. So if a user wants to pass a line with spaces, escape-sequences and so on, she should quote or escape that line properly.