]>
Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/git-alias
2 # Usage: git-alias [<alias> [<value>]]
6 0) git config
--get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort ;;
7 1) git
alias | grep -e "$1" ;;
8 *) git config
--global "alias.$1" "$2" ;;