Skip to content

Instantly share code, notes, and snippets.

View flagrede's full-sized avatar
🎯
Focusing

Florent Lagrede flagrede

🎯
Focusing
View GitHub Profile
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
clmerge = "!git branch --merged | grep -v \"\\*\" | grep -v master | grep -v dev | xargs -n 1 git branch -d"
clmerge2 = "!git branch -vv | grep ': gone]' | awk '{print $1}' | xargs git branch -D"