summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
Diffstat (limited to 'help')
-rw-r--r--help19
1 files changed, 19 insertions, 0 deletions
diff --git a/help b/help
new file mode 100644
index 0000000..28e383e
--- /dev/null
+++ b/help
@@ -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