Sha256: 73bfb48dc4d4e26e6a630308ae3412e35c3cd99748a4f7aa17806f602e1e0dd5
Contents?: true
Size: 577 Bytes
Versions: 4
Compression:
Stored size: 577 Bytes
Contents
#!/usr/bin/env bash # Setup git configuration for the user # # Run as the user to configure # # Requires: # * $GIT_USER_NAME # * $GIT_USER_EMAIL set -e # exit immediately if a simple command exits with a non-zero status if [[ "${GIT_USER_NAME}X" == "X" ]]; then echo 'ERROR please provide $GIT_USER_NAME' exit 1 fi if [[ "${GIT_USER_EMAIL}X" == "X" ]]; then echo 'ERROR please provide $GIT_USER_EMAIL' exit 1 fi cd ~ git config -f .gitconfig user.name "${GIT_USER_NAME}" git config -f .gitconfig user.email "${GIT_USER_EMAIL}" git config -f .gitconfig color.ui true
Version data entries
4 entries across 4 versions & 1 rubygems