github.com/argoproj/argo-cd@v1.8.7/hack/git-ask-pass.sh (about) 1 #!/bin/sh 2 # This script is used as the command supplied to GIT_ASKPASS as a way to supply username/password 3 # credentials to git, without having to use git credentials helpers, or having on-disk config. 4 case "$1" in 5 Username*) echo "${GIT_USERNAME}" ;; 6 Password*) echo "${GIT_PASSWORD}" ;; 7 esac