https://github.com/git/git
Raw File
Tip revision: 9bbde12feed306b9044060e4eab6b3b4c6628050 authored by Johannes Schindelin on 11 March 2023, 21:57:30 UTC
Git 2.39.3
Tip revision: 9bbde12
help
#!/bin/sh

if tty -s
then
	echo "Run 'help' for help, or 'exit' to leave.  Available commands:"
else
	echo "Run 'help' for help.  Available commands:"
fi

cd "$(dirname "$0")"

for cmd in *
do
	case "$cmd" in
	help) ;;
	*) [ -f "$cmd" ] && [ -x "$cmd" ] && echo "$cmd" ;;
	esac
done
back to top