summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-12-05 21:43:18 -0800
committerElizabeth Hunt <me@liz.coffee>2025-12-05 22:19:52 -0800
commit8667f8615da479a8e9c4e8d5bb5987632d75bfaf (patch)
treee3b4bdb4ebe4f0010c90dd43970822bbe8f8d4a6 /help
parent4cde5dedcf35f2d5850ce0479f25d29bac74daf7 (diff)
downloadwwwgit-8667f8615da479a8e9c4e8d5bb5987632d75bfaf.tar.gz
wwwgit-8667f8615da479a8e9c4e8d5bb5987632d75bfaf.zip
Add ssh server
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