8 lines
257 B
Bash
8 lines
257 B
Bash
#!/bin/sh
|
|
# GIT_ASKPASS helper: git calls this with a prompt and reads the answer from
|
|
# stdout. Credentials come from the environment and are never written to disk.
|
|
case "$1" in
|
|
Username*) echo "${GIT_PUSH_USER}" ;;
|
|
*) echo "${GIT_PUSH_TOKEN}" ;;
|
|
esac
|