Skip to content

Instantly share code, notes, and snippets.

@willprice
Created December 24, 2015 21:26
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 willprice/f606bfc98db9efab0f08 to your computer and use it in GitHub Desktop.
Save willprice/f606bfc98db9efab0f08 to your computer and use it in GitHub Desktop.
git setup
git config --global user.email "will.price94+dev@gmail.com"
git config --global user.name "Will Price"
git config --global core.editor viim
# Short commands
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.lg 'log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit'
# 'New' commands
git config --global alias.unstage 'reset HEAD --'
git config --global alias.vis '!gitk'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment