summaryrefslogtreecommitdiff
path: root/git-shell-commands/help
blob: 633c1529ffa5c2cbe46214ec99d5765804c6a7df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# * help
#   Get enabled commands
#   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