Created
September 5, 2015 22:30
-
-
Save dsernst/78dd98fb002870bb35b8 to your computer and use it in GitHub Desktop.
Example of modifying git to do something else before it runs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this to the top of your .bash_profile | |
git () { | |
say "git"; | |
/usr/local/bin/git "$@"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment