interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / contrib / git-shell-commands / help

18 lines · 283 bytes Raw Blame History
1#!/bin/sh
2
3if tty -s
4then
5 echo "Run 'help' for help, or 'exit' to leave. Available commands:"
6else
7 echo "Run 'help' for help. Available commands:"
8fi
9
10cd "$(dirname "$0")"
11
12for cmd in *
13do
14 case "$cmd" in
15 help) ;;
16 *) [ -f "$cmd" ] && [ -x "$cmd" ] && echo "$cmd" ;;
17 esac
18done