#!/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