Skip to content

Instantly share code, notes, and snippets.

@daqing
Created February 14, 2009 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daqing/64388 to your computer and use it in GitHub Desktop.
Save daqing/64388 to your computer and use it in GitHub Desktop.
#! /bin/bash
# git init configs for Kinch Zhang
# username and email address
git config --global user.name "Kinch Zhang"
git config --global user.email kinch.zhang@gmail.com
# SVN-like shortcuts
git config --global alias.st status
git config --global alias.ci commit
git config --global alias.co checkout
git config --global alias.br branch
# colored output
git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto
# default editor
git config --global core.editor vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment