Skip to content

Instantly share code, notes, and snippets.

@tobyweston
Created August 28, 2013 07:22
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 tobyweston/6363048 to your computer and use it in GitHub Desktop.
Save tobyweston/6363048 to your computer and use it in GitHub Desktop.
Standard Git config and aliases
git config --global http.proxy myproxy:8080
git config --global user.email me@email.com
git config --global user.name me
git config --global color.ui true
git config --global alias.last "log -1 HEAD"
git config --global alias.st "status -sb"
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 --date=relative"
@tobyweston
Copy link
Author

WARNING: Missing ' above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment