Skip to content

Instantly share code, notes, and snippets.

@JuanMaRuiz
Forked from oldlastman/.gitconfig
Last active August 29, 2015 14:14
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 JuanMaRuiz/144df61a7459906fb78f to your computer and use it in GitHub Desktop.
Save JuanMaRuiz/144df61a7459906fb78f to your computer and use it in GitHub Desktop.
[alias]
co = checkout
pd = push origin develop
st = -p status
cm = commit
w = whatchanged
last = cat-file commit HEAD
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ls = show --pretty="format:" --name-only
alias = ! git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment