git-askpass-env
v0.0.3
Published
A GIT_ASKPASS that just spews out environment variables
Downloads
7
Readme
git-ask-pass-env: A GIT_ASKPASS that just spits out environment variables
This is an implementation of GIT_ASKPASS that just spits out an environment variable for the username / password. This code is based on ask-pass from https://github.com/desktop/desktop.
Set GIT_ASKPASS_USER
and GIT_ASKPASS_PASSWORD
, then set GIT_ASKPASS
to git-askpass-env
. Tada!
PS: if your goal is to clone via a Personal OAuth token, set GIT_ASKPASS_USER
to the token, and GIT_ASKPASS_PASSWORD
to x-oauth-basic
.