#!/bin/sh # List the names of all `git` aliases and custom sub-commands, one per line # # Usage: git aliases-n-sub-commands set -eu { git --list-cmds=alias git --list-cmds=others } | sort -u