If the alias expansion is prefixed with an exclamation point, it will be treated as a shell command. For example, defining "alias.new = !gitk --all --not ORIG_HEAD", the invocation "git new" is equivalent to running the shell command "gitk --all --not ORIG_HEAD". Note that shell commands will be executed from the top-level directory of a repository, which may not necessarily be the current directory.
[^] # Re: Ce qui te manque: des alias et un workflow défini
Posté par Matthieu Moy (site web personnel) . En réponse au journal Recherche gestionnaire de version idéal. Évalué à 2.