Skip to content

Instantly share code, notes, and snippets.

@cubanx
Created February 7, 2012 20:03
Show Gist options
  • Save cubanx/1761604 to your computer and use it in GitHub Desktop.
Save cubanx/1761604 to your computer and use it in GitHub Desktop.
My git.config global aliases
git config --global alias.slog "log -n 10 --format=format:'%Creset%an %Cgreen%ar:%Creset%s %Cred%h'"
git config --global alias.ci "!git add -A && git commit"
git config --global alias.tracking "for-each-ref --format='%(refname:short) <- %(upstream:short)' refs/heads"
git config --global alias.s "status --short"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment