Skip to content

Instantly share code, notes, and snippets.

@yuanmai
Forked from corbanb-snippets/GIT: Global Config
Created March 27, 2012 03:12
Show Gist options
  • Save yuanmai/2212151 to your computer and use it in GitHub Desktop.
Save yuanmai/2212151 to your computer and use it in GitHub Desktop.
git globals and alias
# http://gitready.com/intermediate/2009/02/06/helpful-command-aliases.html
git config --global alias.rb rebase
git config --global alias.st status
git config --global alias.ci commit
git config --global alias.br branch
git config --global alias.co checkout
git config --global alias.df df
git config --global alias.lg log -p
git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto
# http://gitready.com/intermediate/2009/02/06/helpful-command-aliases.html
git config --global alias.rb rebase
git config --global alias.st status
git config --global alias.ci commit
git config --global alias.br branch
git config --global alias.co checkout
git config --global alias.df df
git config --global alias.lg log -p
git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto
git config --global core.editor "mate -w"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment