Not sure what’s going. But I keep getting this annoying Github username/password pop up everytime I switch from one chat to another all of sudden tonight.
Steps to Reproduce
If you switch between chats in the agents window, I keep on getting this.
Hey, thanks for the report. This is the HTTPS auth prompt from the built-in Git. Its cache expires pretty quickly, and when you switch chats in the Agents Window, each workspace triggers git operations against the remote, so the username request keeps popping up.
This is a known bug. There’s no ETA for a fix yet, but here are a couple of workarounds that usually remove the prompt completely:
Set up a git credential helper so your creds get cached once. You’re on macOS, so:
git config --global credential.helper osxkeychain
Next time it prompts, enter your GitHub username and a Personal Access Token, not your password. After that, it should stop asking.
For users on other OS:
# Windows
git config --global credential.helper wincred
# Linux
git config --global credential.helper cache
Or switch the repo remote from HTTPS to SSH, then there won’t be any HTTPS prompts at all: