forked from bots-garden/ori
2026-09-18 — First push to origin hangs
Where we stopped
main (34e69b5) has never been pushed; the remote repo bots-garden/ori on git.rickub.com exists but is empty. Diagnosis done, fix not applied — the user chooses.
Root cause
- HTTPS remote + 401 on push + no keychain credential ⇒ git prompts for a password.
- Sessions started from VSCodium's integrated terminal export
GIT_ASKPASS=/Applications/VSCodium.app/.../askpass.sh, so the prompt goes to a VSCodium input box, not the terminal. From a non-interactive context (Claude Code Bash tool, scripts) it blocks indefinitely.
Options for the next step
- SSH remote (recommended, verified working):
git remote set-url origin git@git.rickub.com:bots-garden/ori.gitthengit push -u origin main.
The local key is already authorised;ssh -T git@git.rickub.comanswers "rickub: this endpoint serves git only". - Keep HTTPS: run
GIT_ASKPASS= git push -u origin mainin a real terminal, answer the prompts once;credential.helper=osxkeychain(global, /opt/homebrew/etc/gitconfig) will remember them.
Traps
- macOS has no
timeout; useperl -e 'alarm N; exec @ARGV' <cmd>to guard hanging git calls. - Killing a hung
git pushleavesgit-remote-https+askpass.shorphans (ppid 1); check withps -axo pid,ppid,command | grep askpassand kill them. - Also push
feat/acp-webappif the branch history is wanted on the server (onlymainwas in scope).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|