blob: 28e383e0e7dd2a531498617d460d47792564b2d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
|