Skip to content

Instantly share code, notes, and snippets.

@kurtis318
Last active August 17, 2021 21:37
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kurtis318/713f41932fcd4b5f40a681cdea76e596 to your computer and use it in GitHub Desktop.
disable git command openssh popup
I always get a popup window asking for my Git userid and another for the password.
The input fields are about 2 characters. Would rather not do it at all.
Here is a web site that has a solution:
REF:https://stackoverflow.com/questions/34396390/git-windows-disable-password-prompt-ui-but-get-password-prompt-from-shell
git config --global core.askPass ""
or
git -c core.askPass="" clone <https_url>
Note: The gist hash from a gist is in the git clone of the HTTP protocol.
This Gist has a git clone HTTP protocol of :<script src="https://gist.github.com/kurtis318/713f41932fcd4b5f40a681cdea76e596.js"></script>
The Git hash here is: kurtis318/713f41932fcd4b5f40a681cdea76e596
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment