Skip to content

Instantly share code, notes, and snippets.

@rubencaro rubencaro/.gitconfig
Last active Dec 3, 2017

What would you like to do?
name = Rubén Caro
email =
co = checkout
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
lolas = log --graph --decorate --abbrev-commit --all --date=short --format=format:'%C(yellow)%h %Cgreen%an %Cblue%ad %Cred%d %Creset%s'
a = !bash -c 'git add --all . && git diff HEAD' -
c = commit -am
p = pull --rebase
st = status
br = branch
df = diff
common-ancestor = !bash -c 'diff --old-line-format='' --new-line-format='' <(git rev-list --first-parent "${1:-master}") <(git rev-list --first-parent "${2:-HEAD}") | head -1' -
diff = auto
status = auto
branch = auto
ui = auto
default = matching
editor = vim
pager = less -R
keepBackup = false
[url ""]
insteadOf =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.