Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(git): set GIT_TERMINAL_PROMPT=0 env variable #12

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

paolobarbolini
Copy link
Member

@paolobarbolini paolobarbolini commented Apr 1, 2024

If this Boolean environment variable is set to false, git will not prompt on the terminal (e.g., when asking for HTTP authentication).

As explained by the git docs this prevents private or deleted repositories from blocking the clone process by asking for credentials. Unfortunately, this doesn't seem to stop git from prompting about ssh key authenticity.

> If this Boolean environment variable is set to false, git
> will not prompt on the terminal (e.g., when asking for
> HTTP authentication).

As explained by the git docs this prevents private or deleted
repositories from blocking the clone process by asking for
credentials. Unfortunately, this doesn't seem to stop git
from prompting about ssh key authenticity.
@paolobarbolini paolobarbolini merged commit 4790baf into main Apr 2, 2024
4 checks passed
@paolobarbolini paolobarbolini deleted the git-terminal-prompt branch April 2, 2024 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant