Skip to content

Instantly share code, notes, and snippets.

View jjoselv's full-sized avatar
🧙‍♂️
Brewing...

Juanjo Lopez jjoselv

🧙‍♂️
Brewing...
  • EPAM
  • Zürich, Switzerland
View GitHub Profile
@jjoselv
jjoselv / .gitconfig
Last active September 11, 2020 07:42
My git aliases
[alias]
co = checkout
br = branch
ci = commit
st = status
logp = log --decorate --oneline --graph
lg = "log --oneline --graph --date=format:'%d/%m/%Y - %H:%M' --pretty=format:'%C(auto)%h%Creset%C(auto)%d%Creset %s %C(magenta)<%ce>%Creset %C(#FFA500)%cd%Creset'"
lgy = "log --oneline --graph --date=format:'%d/%m/%Y - %H:%M' --pretty=format:'%C(auto)%h%Creset%C(auto)%d%Creset %<(50,trunc)%s %C(magenta)<%ce>%Creset %C(#FFA500)%cd%Creset'"
ds = diff --staged
dpc = "diff @^"