mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
7 lines
295 B
Bash
Executable file
7 lines
295 B
Bash
Executable file
#!/bin/sh
|
|
# This script is used as the command supplied to GIT_ASKPASS as a way to supply username/password
|
|
# credentials to git, without having to use git credentials helpers, or having on-disk config.
|
|
case "$1" in
|
|
Username*) echo "${GIT_USERNAME}" ;;
|
|
Password*) echo "${GIT_PASSWORD}" ;;
|
|
esac
|