On Wed, Jan 15, 2025, at 16:28, Junio C Hamano wrote: > Somebody may want to go over "git help --all" and for each of them > try "git $cmd -h >/dev/null" to find those that give the help output > to their standard error stream. #!/bin/sh for cmd in $(git --list-cmds=builtins); do git $cmd -h >/dev/null done 2>&1 | grep '^usage: ' \ | perl -pe 's/^usage:\s*(\(EXPERIMENTAL!\)\s*)?//; s/^(git\s+[a-zA-Z0-9-]+).*/\1/' Gives git am git branch git check-ref-format git checkout--worker git checkout-index git commit git commit-tree git credential git diff git diff-files git diff-index git diff-tree git fast-import git fetch-pack git fsmonitor--daemon git gc git get-tar-commit-id git index-pack git ls-files git mailsplit git merge git merge-index git merge-ours git merge-recursive git merge-recursive-ours git merge-recursive-theirs git merge-subtree git pack-redundant git rebase git remote-ext git remote-fd git rev-list git rev-parse git status git unpack-file git unpack-objects git update-index git upload-archive git upload-archive git var For $ git version git version 2.48.0