Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/contrib/git-shell-commands/help # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / contrib / git-shell-commands / help` 18 lines ยท 283 bytes Raw Blame History 1 #!/bin/sh 2 3 if tty -s 4 then 5 echo "Run 'help' for help, or 'exit' to leave. Available commands:" 6 else 7 echo "Run 'help' for help. Available commands:" 8 fi 9 10 cd "$(dirname "$0")" 11 12 for cmd in * 13 do 14 case "$cmd" in 15 help) ;; 16 *) [ -f "$cmd" ] && [ -x "$cmd" ] && echo "$cmd" ;; 17 esac 18 done