Skip to content

Instantly share code, notes, and snippets.

View itsdevdom's full-sized avatar
🤓
Working hard or hardly working

Dominique Müller itsdevdom

🤓
Working hard or hardly working
View GitHub Profile
Put the following into you ".gitconfig" file (in your home folder).
Taken from <http://stackoverflow.com/questions/1838873/visualizing-branch-topology-in-git/34467298#34467298>
[alias]
lg = !"git lg3"
lg1 = !"git lg1-specific --all"
lg2 = !"git lg2-specific --all"
lg3 = !"git lg3-specific --all"
lg1-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'