O'Reilly logo
  • Gustavo Bezerra thinks this is interesting:

This is useful if you write your own tools that work with a Git repository. We can demonstrate by aliasing git visual to run gitk:

From

Cover of Pro Git, Second Edition

Note

Bash "!" expansion will make it hard to do this kind of aliasing: https://unix.stackexchange.com/questions/6/what-are-your-favorite-command-line-features-or-tricks/67#67 Work around is to manually edit git config and add quotes to command.