On Tue, Dec 19, 2023 at 04:58:45AM -0800, Tall Navy Guy wrote:
> I kick off the script at, say, 1930 hours and then I wake up and come back
> into the office at 0600 the next morning, only to find my script stopped
> halfway through because there is a pop-up message asking me for credentials
> and to sign in with my browser, which means my script has been waiting on
> pause for about 10 hours or so while my computer was unattended.
Not sure what else you think it should do, if it needs creds and doesn't have them
the remote won't accept anything from you.
> Is there any way to suppress the snotty gram?
Setup your credential-helper properly?
git for windows uses GCM by default:
https://github.com/git-ecosystem/git-credential-manager
That should cache your credentials after the first log in, providing you with an OAUTH
refresh token that should then just work.