From 26eaed5ca7fd5b6cadbd25868bb97a877c298619 Mon Sep 17 00:00:00 2001 From: Blai Peidro Date: Tue, 18 Aug 2026 22:28:29 +0200 Subject: [PATCH] docs: name the fork remote origin, as the docs already assume --- CLAUDE.md | 6 +++--- docs/github.md | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 2e59e81ec..5ed2d03fa 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -15,17 +15,17 @@ is a **separate PR**, squash-merged. One logical change per PR (independently re bisectable, revertable). ```bash -git checkout main && git pull opus main +git checkout main && git pull origin main git checkout -b / # ... make exactly one change, test it ... git commit -am ": short imperative summary" -git push -u opus / +git push -u origin / gh pr create --repo OpusProjects/sysPass --base main --head / --title "..." --body "..." gh pr merge --repo OpusProjects/sysPass --squash --delete-branch # we self-merge ``` - **Types** (branch prefix and commit/PR title alike): `feat`, `fix`, `perf`, `refactor`, `docs`, `test`, `build`, `chore` — as in every OpusProjects repo. -- **Remotes:** `origin` = upstream `nuxsmin/sysPass` (read-only) · `opus` = our fork `OpusProjects/sysPass` (push here). Default branch: `main`. +- **Remotes:** `origin` = our fork `OpusProjects/sysPass` (push here) · `upstream` = `nuxsmin/sysPass` (read-only). Default branch: `main`. - **Git identity** is set repo-locally (`blaipr` / `blaipr@hotmail.com`) — plain `git commit` works. - `gh pr edit` can silently no-op on this repo (classic-Projects GraphQL field); if a body edit doesn't apply, PATCH via `gh api -X PATCH repos/OpusProjects/sysPass/pulls/ -F body=@file`. diff --git a/docs/github.md b/docs/github.md index 96365ce84..fb7603d3d 100644 --- a/docs/github.md +++ b/docs/github.md @@ -136,7 +136,7 @@ workflow reacts to. ```bash git tag v4.0.1 -git push opus v4.0.1 +git push origin v4.0.1 ``` The tag runs the full pipeline, and then two jobs behave differently than they do on a pull request: @@ -175,17 +175,17 @@ Every change is its own pull request, squash-merged, and independently reviewabl revertable — a dependency bump, a fix and a documentation edit each get their own. ```bash -git checkout main && git pull opus main +git checkout main && git pull origin main git checkout -b / # ... make exactly one change, and test it ... -git commit -am "Short title — what and why" -git push -u opus / +git commit -am ": short imperative summary" +git push -u origin / gh pr create --repo OpusProjects/sysPass --base main --head / --title "..." --body "..." gh pr merge --repo OpusProjects/sysPass --squash --delete-branch ``` Branch names are `/` and titles are `: short imperative summary`, drawn from `feat`, `fix`, `perf`, `refactor`, `docs`, `test`, `build` and `chore`. The remotes are `origin` for -read-only upstream `nuxsmin/sysPass` and `opus` for this fork, which is where everything is pushed. +this fork, which is where everything is pushed, and `upstream` for the read-only `nuxsmin/sysPass`. [CONTRIBUTING.md](../CONTRIBUTING.md) covers development setup and coding conventions in full.