summaryrefslogtreecommitdiff
path: root/git-shell-commands/help
blob: e707df8f1f0e2dd2f46dc57c74fedcb2982a5af0 (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 three lines from every git-shell-command
for c in `dirname $0`/*; do
    head -q -n4 $c | tail -n3 | sed "s/^..//"
    echo
done