summaryrefslogtreecommitdiff
path: root/git-shell-commands/help
blob: f1d116b05b06ca64020d9af685938ee33b045c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# * help
#   Obtiene los comando habilitados
#   ssh git@host help

set -e

# Gets the initial comment after the shebeng from every git-shell-command
for c in "$(dirname "$0")"/*; do
    sed -rn '2,/^[^#]/s/^# ?//p' "$c"
    echo
done