Last active
May 26, 2020 07:49
-
-
Save DanielSundberg/41f8b21cf5e334449df5d5f1ea51817d to your computer and use it in GitHub Desktop.
Git config file (with pretty short log)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
co = checkout | |
br = branch | |
ci = commit | |
st = status | |
shortlog = log --pretty=oneline --abbrev-commit | |
alias = ! git config --get-regexp ^alias\\. | |
l = log --pretty=format:"%C(green)%h%x20%Creset%C(cyan)%<(16,trunc)%cr%C(yellow)%<(15,trunc)%an%Creset%C(red)%d%Creset%x20%<(75,trunc)%s" | |
l3 = l -3 | |
l5 = l -5 | |
l10 = l -10 | |
l20 = l -20 | |
[core] | |
autocrlf = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment