Skip to content

Instantly share code, notes, and snippets.

@mrorii
Created September 16, 2014 17:27
Show Gist options
  • Save mrorii/899d053423adbc702237 to your computer and use it in GitHub Desktop.
Save mrorii/899d053423adbc702237 to your computer and use it in GitHub Desktop.
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
git config --global color.grep auto
git config --global core.excludesfile $HOME/.gitignore
git config --global diff.algorithm patience
git config --global push.default current
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.ci commit\ -v
git config --global alias.di diff\ -w
git config --global alias.br branch
git config --global alias.puhs push
git config --global alias.psuh push
git config --global alias.pus push
git config --global alias.puh push
git config --global alias.pl '!git pull && git submodule update --init'
echo .DS_Store >> $HOME/.gitignore
echo Thumbs.db >> $HOME/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment