Last active
October 27, 2015 17:28
-
-
Save Jiggins/081007c09d96afbc12bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# For one line installation, use the command in the comment on the next line | |
# bash <(curl https://gist.githubusercontent.com/Jiggins/081007c09d96afbc12bf/raw/9a6132f4c5459e332bf53fc897d76163e5585d75/git-setup.sh) | |
echo -n "Enter your name: " | |
read -e NAME | |
echo -n "Enter your Student Number: " | |
read -e STUDENT_NUMBER | |
echo -n "Enter your email address: " | |
read -e EMAIL | |
git config --global user.name "${NAME} - ${STUDENT_NUMBER}" | |
git config --global user.email "${EMAIL}" | |
# Adding colour to git | |
git config --global color.branch always | |
git config --global color.diff always | |
git config --global color.interactive always | |
git config --global color.pager true | |
git config --global color.status always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment