Files
blog-manager/scripts/git-askpass.sh
2026-11-01 13:23:44 -05:00

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