]> quire.kejadlen.dev Git - quire.git/commit
Use HTTP Basic auth for mirror push to GitHub
authorAlpha Chen <alpha@kejadlen.dev>
Mon, 27 Apr 2026 19:02:42 +0000 (12:02 -0700)
committerAlpha Chen <alpha@kejadlen.dev>
Mon, 27 Apr 2026 19:38:18 +0000 (12:38 -0700)
commit16ef4697ec540f44e7809cf9cacd2494077be655
tree91591d228217a50c4c1197357244af69e91c6213
parentd837788b9caf17f436eb8db21c7cea7c0e9fc74c
Use HTTP Basic auth for mirror push to GitHub

GitHub's git smart HTTP endpoint rejects `Authorization: Bearer <PAT>`
even though the REST API accepts it. The 401 made git fall back to
prompting for a username, which fails in a post-receive hook (no TTY).

Assisted-by: Claude Opus 4.7 (1M context) via Claude Code
Cargo.lock
Cargo.toml
src/quire.rs