| sidebar_position | 6 |
|---|---|
| title | Git Integration |
| description | Clone and push to pods via git protocol |
JSS includes a Git HTTP backend, allowing you to use standard git commands with pods.
jss start --gitgit clone http://localhost:3000/alice/myrepoRequires acl:Read permission.
cd myrepo
echo "Update" >> README.md
git add . && git commit -m "Update"
git pushRequires acl:Write permission.
After a successful push to a non-bare repository, JSS automatically updates the working directory. No post-receive hooks needed.
Use git-credential-nostr for push authentication:
npm install -g git-credential-nostr
git-credential-nostr generate
git config --global credential.helper nostr
git config --global nostr.privkey <key>
# Generate ACL for your repo
cd myrepo
git-credential-nostr acl > .acl
git add .acl && git commit -m "Add ACL"
git pushSee Git Push with Nostr for a complete guide.