upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/skills/ngit/SKILL.md
diff options
context:
space:
mode:
Diffstat (limited to 'skills/ngit/SKILL.md')
-rw-r--r--skills/ngit/SKILL.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/skills/ngit/SKILL.md b/skills/ngit/SKILL.md
index 186341e..5ff760f 100644
--- a/skills/ngit/SKILL.md
+++ b/skills/ngit/SKILL.md
@@ -38,11 +38,11 @@ When you `git fetch`, `git-remote-nostr` reads the current ref state from Nostr
38## Detecting a nostr repo 38## Detecting a nostr repo
39 39
40```bash 40```bash
41# Check if current directory is a nostr repo (always exits 0) 41git remote -v | grep -q 'nostr://' # primary check — no cache needed
42ngit repo --json --offline | grep -q '"is_nostr_repo":true' 42ngit repo --json --offline # full metadata when needed
43``` 43```
44 44
45Returns full repo info (including `nostr_url`, `maintainers`, `grasp_servers`) when true. 45`ngit repo` always exits 0; `is_nostr_repo: false` can be a cold-cache false negative — if remotes show `nostr://`, run `git fetch origin` then retry. Full output includes `nostr_url`, `maintainers`, `grasp_servers`.
46 46
47## nostr:// URLs 47## nostr:// URLs
48 48