github.com/devtron-labs/ci-runner@v0.0.0-20240518055909-b2672f3349d7/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