Closed stefvanbuuren closed 2 years ago
Apparently, I switched to SSH instead of HTTPS authentication when trying the following stackoverflow solution:
git config --global --add url."git@github.com:".insteadOf "https://github.com/"
Now I need to find a way to go back.
Delete from .gitconfig
the following lines:
[url "git@github.com:"]
insteadOf = https://github.com/
and check that git remote -v
now again gives HTTPS style URLs.
Trying to update
GITHUB_PAT
usingcredentials 1.3.2
, but I am getting curious behaviour.The first time
git_credential_ask()
asks for my local user password to unlockosxkeychain
, and produces the expected result.I tried the first two solutions in https://stackoverflow.com/questions/32232655/go-get-results-in-terminal-prompts-disabled-error-for-github-private-repo, but no luck. Happens on two different macs, both running OSX 12.6.
Appreciate any ideas that could help.