Le dimanche 20 juin 2010 à 21:28 +0200, Matej Urban a écrit : > Hello, > I push translations for a few people and have 2 questions ... > > 1. I'd like to make my life a bit easier with aliases, but can not > figure out how to make correct alias of a commit message: > > git config --global alias.name "commit sl.po -m "Updated translation" > --author "Name SecondName <name.secondn...@email.com>"" > > I guess the problems are not escaped " ? > > > 2. If I understand correctly then executing $git name will do upper > git commit sl.po -m "Updated translation" --author "Name SecondName > <name.secondn...@email.com>", right? So, how would I need to write my > alias to execute git commit name? to execute that command? >
Use backslash to escape quotes. E.g.: git config --global alias.commitsl "commit sl.po -m \"Updated Slovenian translation\" --author \"Name SecondName <name.secondn...@email.com>\"" You can also directly edit the [alias] section of your ~/.gitconfig file. HTH, Claude _______________________________________________ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n