On Monday, 20 July 2020 at 20:55:52 UTC, Steven Schveighoffer wrote:

I don't want any user interaction. Occasionally, I get a repository that no longer exists (404). Then git comes up and asks for a username/password. I want it to just fail. Apparently git has no option to be non-interactive, it supposedly checks stdin to see if it's a tty, and only errors if it's not.


-Steve

Try setting GIT_TERMINAL_PROMPT=0 as an environment variable.

Reply via email to