A script to run on new mahcines to setup git aliases - http://bit.ly/git-me
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 | |
# Run this script like this: | |
# curl http://bit.ly/git-me | sh | |
cat > ~/.gitconfig <<EOF | |
[user] | |
name = mikeumus | |
email = mikeumus@gmail.com | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
a = add | |
pl = pull | |
mg = merge | |
ps = push | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
newline
errors when tryingcurl http://bit.ly/git-me | sh
Better to
wget
this file down (wget bit.ly/git-me2 --output-document gitMe.sh
) to the desired machine and then run it there:bash gitMe.sh