Skip to content

Instantly share code, notes, and snippets.

@errord
Created May 29, 2014 01:41
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 errord/6ac5dc0a5f5fa5b26a25 to your computer and use it in GitHub Desktop.
Save errord/6ac5dc0a5f5fa5b26a25 to your computer and use it in GitHub Desktop.
git config
1. git颜色配置
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
2. git默认编辑器设置
git config --global core.editor vim
3. git alias设置
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.ct commit
git config --global alias.df diff
git config --global alias.br branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment