Commit ac3ae48217

ac3ae48217c3aa2306a7389200812e06bac97ae0

parent: 1285c70990

Verified · cmc ci/build: success ci/test: success

cmc <hello@cleberg.net> · 2026-09-07 22:18 UTC

wiki: Users says what differs over stock ssh, and where the wiki lives

Stock ssh joins its arguments with spaces and the server tokenizes the
result, so a multi-word value needs a second layer of quotes; --help is
not understood there and the form is help <noun>. The page said the two
behave identically.

The wiki section still described <repo>.wiki companion repositories,
which #170 removed. It now points at .gitbay/wiki/ on the default branch
and the three ways to edit it.

Closes #204
.gitbay/wiki/Users.org +18 −10
@@ -1,9 +1,17 @@
11#+title: gitbay user guide
22
33Everything here works from stock OpenSSH — replace =gitbay= with
4=ssh git@<host>= in any command and it behaves identically. The CLI adds
5convenience (instance profiles, repo inference, =$EDITOR=), nothing more.
6=ssh git@<host> help= lists every command the server knows.
4=ssh git@<host>= in any command. The CLI adds convenience (instance
5profiles, repo inference, =$EDITOR=), nothing more. Two things differ
6over bare ssh:
7
8- ssh joins its arguments with spaces and the server tokenizes the
9 result, so a value with a space in it needs a second layer of quotes:
10 =--description "'a widget'"=, not =--description "a widget"=, which
11 arrives as two arguments.
12- =--help= is not understood. =ssh git@<host> help= lists every command
13 the server knows, and =help <noun>= (=help repo=, =help mr=) prints
14 the usage of each command under that noun.
715
816* Installing the CLI
917
@@ -285,17 +293,17 @@ that is why no =owner/name= appears above. Anywhere else, pass it as the
285293first argument. Long text: =--body= inline, =--file -= from stdin, or
286294neither on a terminal and =$EDITOR= opens.
287295
288Wikis are companion repositories edited by push — no separate storage,
289no web editor, the same rendering pipeline as READMEs (markdown and
290org). Access mirrors the parent repo (read to view, write to push);
291the companion is created on your first push and follows the repo
292through transfer and delete:
296A wiki is the =.gitbay/wiki/= directory on the default branch — no
297separate repository, the same rendering pipeline as READMEs (markdown
298and org). Editing it is editing a file: a push, =repo commit-file=, or
299the web editor on a repository that permits server-authored commits (one
300requiring signed commits is push-only, since the server signs nothing):
293301
294302#+begin_src sh
295git clone ssh://git@<host>/you/project.wiki.git
303mkdir -p .gitbay/wiki
296304# add Home.md (or .org), more pages, images; relative links between
297305# pages just work on the web at /you/project/wiki
298git push
306git add .gitbay/wiki && git commit -m "wiki" && git push
299307#+end_src
300308
301309Releases anchor notes and binary assets to a pushed tag (write access;