diff options
Diffstat (limited to 'git-shell-commands/help')
-rwxr-xr-x | git-shell-commands/help | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/git-shell-commands/help b/git-shell-commands/help new file mode 100755 index 0000000..e707df8 --- /dev/null +++ b/git-shell-commands/help @@ -0,0 +1,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 |