Skip to content

Instantly share code, notes, and snippets.

@usutani
Created October 1, 2014 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save usutani/247af8371c82bad8fcd6 to your computer and use it in GitHub Desktop.
Save usutani/247af8371c82bad8fcd6 to your computer and use it in GitHub Desktop.
Git
git config --global color.ui auto
git config --global core.editor vim
git config --global alias.st status
git config --global alias.br branch
git config --global alias.co checkout
git config --global alias.ci commit
git config --global alias.l 'log --color --graph --pretty=oneline --decorate --date=short --abbrev-commit --branches'
git config --global alias.ds 'diff --stat'
git config --global diff.tool vimdiff
git config --global merge.tool vimdiff
git config --global difftool.prompt false
git config --global alias.dt difftool
git config --global alias.mt mergetool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment