diff options
Diffstat (limited to 'help')
| -rw-r--r-- | help | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#!/bin/sh +# Help command for git-shell + +cat <<'EOF' +Available commands: + init-repo <name> [description] - Initialize a new bare git repository + delete-repo <name> - Delete a repository (requires confirmation) + list - List all repositories + help - Show this help message + +Examples: + init-repo myproject.git "My awesome project" + delete-repo myproject.git + list + +To push to a repository: + git remote add origin ssh://code@host:2222/myproject.git + git push origin main +EOF |
