mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
8 lines
295 B
Bash
Executable File
8 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
|