Skip to content

Instantly share code, notes, and snippets.

Last active August 31, 2018 15:43
What would you like to do?
A script to run on new mahcines to setup git aliases -
# Run this script like this:
# curl | sh
cat > ~/.gitconfig <<EOF
name = mikeumus
email =
co = checkout
ci = commit
st = status
br = branch
a = add
pl = pull
mg = merge
ps = push
Copy link

mikeumus commented Nov 6, 2017

newline errors when trying curl | sh
Better to wget this file down (wget --output-document to the desired machine and then run it there: bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment