Files
2026-09-04 14:02:15 -04:00

11 lines
234 B
Bash

#!/bin/bash
set -e
if [[ ! -z ${GIT_CONFIG_USER_NAME} ]]; then
git config --global user.name "${GIT_CONFIG_USER_NAME}"
fi
if [[ ! -z ${GIT_CONFIG_USER_EMAIL} ]]; then
git config --global user.email "${GIT_CONFIG_USER_EMAIL}"
fi