git config -l
to list all variables set in the configuration file.|
) to pipe the output and grep alias
to only keep aliases.|
) to pipe the output and sed 's/^alias\.//g'
to remove the alias.
part from each alias.git config -l | grep alias | sed 's/^alias\.//g'
git config -l | grep alias | sed 's/^alias\.//g' # st=status # co=checkout # rb=rebase
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️