From 71e34105c591247709c58ccf8cf3385e86b706aa Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Sun, 9 Aug 2026 15:29:53 -0400 Subject: [PATCH] =?UTF-8?q?fix(git):=20pushInsteadOf=20instead=20of=20inst?= =?UTF-8?q?eadOf=20=E2=80=94=20keyless=20https=20fetch=20must=20work=20for?= =?UTF-8?q?=20fresh=20bring-up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MIGRATION-NOTES.md | 2 ++ dot_gitconfig.tmpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MIGRATION-NOTES.md b/MIGRATION-NOTES.md index 053a9f1..479f4b8 100644 --- a/MIGRATION-NOTES.md +++ b/MIGRATION-NOTES.md @@ -63,6 +63,8 @@ Live `~/.config` entries were symlinks into dotstate storage; content copied wit - **Inir / Vertical-Rogz_AppleStudio / CachyOS**: deferred entirely (except tmux.conf, claimed above). Future `.role` values. - **systemd user units**: unit files managed, enable-state not (except session-critical via `run_once` script). - **Compiled tools in `~/.local/bin`**: never vendored; installed via `packages.yaml`. Only hand-written scripts ship in `dot_local/bin/`. +- **gitconfig `insteadOf` → `pushInsteadOf`**: live config rewrote *all* GitHub https URLs to ssh, which breaks every anonymous clone (lazy.nvim, tpm, fisher) on a machine without SSH keys — i.e. the bootstrap one-liner. `pushInsteadOf` keeps keyless https fetches working; pushes still use ssh; private https fetches use the `gh auth git-credential` helper. Found by the Arch container validation. +- **`core.pager = git-split-diffs`**: npm-installed tool, not in `packages.yaml` (no node package management in pass 1). Interactive-only; git works without it (pager errors degrade to no pager). Same for the `tea` credential helper (prad.codes host only). ## Secrets audit results diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 011cd5b..f258640 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -8,7 +8,7 @@ email = {{ .email }} name = {{ .name }} [url "git@github.com:"] - insteadOf = https://github.com/ + pushInsteadOf = https://github.com/ [pager] diff = diffnav [delta]