Created
June 15, 2012 13:04
-
-
Save thelmuth/2936388 to your computer and use it in GitHub Desktop.
Tom's Git Config Shell Script
This file contains hidden or 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
git config --global user.name 'Tom Helmuth' | |
git config --global user.email [email protected] | |
git config --global core.editor emacs | |
git config --global color.ui true | |
git config --global alias.st status | |
git config --global alias.ch checkout | |
git config --global alias.br branch | |
git config --global alias.last 'log -1 HEAD' | |
git config --global alias.brlog 'log --pretty=format:"%h %an: %s" --graph' | |
git config --global alias.brlogd 'log --pretty=format:"%ad : %h : %an | %s" --date=short --graph' | |
git config --global alias.aliases 'config --get-regexp alias' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a shell script that can be run to easily setup a new Git environment. It includes some important things (name, email, editor), some nice things (colors), and some aliases that I find useful.