Skip to content

Instantly share code, notes, and snippets.

@tsyber1an
Forked from usutani/git_config
Created February 6, 2017 10:08
Show Gist options
  • Save tsyber1an/abd58b4163d9d956024486b9ea66b7ab to your computer and use it in GitHub Desktop.
Save tsyber1an/abd58b4163d9d956024486b9ea66b7ab 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