Trilarion / opensourcegames

Technical infos of open source games.
https://trilarion.github.io/opensourcegames/
Creative Commons Zero v1.0 Universal
631 stars 78 forks source link

When updating the git archive "git clone" sometimes asks for authentication. #251

Closed Trilarion closed 4 years ago

Trilarion commented 4 years ago

Which stops the script from continuation (it just waits for authentication).

I just want an anonymous clone. Maybe it's repositories that aren't public/available anymore.

However it should not stop the script at the very least, just print a message and continue.

Trilarion commented 4 years ago

It happened with Github repositories that went private and Git asks for credentials. https://serverfault.com/questions/544156/git-clone-fail-instead-of-prompting-for-credentials suggests that the environment variable GIT_TERMINAL_PROMPT should suppress that behavior. It didn't help. But removing information about credential manager from the global/system Git configuration did the job.