Last active
November 3, 2022 05:57
-
-
Save tadd/654b46336b0429872c08521b567c8ca3 to your computer and use it in GitHub Desktop.
An one-liner git-wrapper to create the same alias as builtins. Insanity guaranteed™ http://web.archive.org/web/20150215121336/http://git.661346.n2.nabble.com/allowing-aliases-to-override-builtins-to-support-default-options-td2438491.html
This file contains hidden or 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
type -t git-$1 >/dev/null && exec git-$1 "${@:2}" || git "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you know:
alias git=git_force_alias.bash