diff options
Diffstat (limited to 'gitconfig')
-rw-r--r-- | gitconfig | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/gitconfig b/gitconfig index 50d6bfd..5ec928b 100644 --- a/gitconfig +++ b/gitconfig @@ -1,33 +1,35 @@ [color] - status = auto - branch = auto - diff = auto + status = auto + branch = auto + diff = auto [i18n] - commitencoding = utf-8 + commitencoding = utf-8 [alias] - amend = commit --amend - br = branch - ci = commit - co = checkout - fixup = rebase -i HEAD~5 - g = "grep --heading --break" - lt = log --oneline --graph --all - pending = !GIT_CURRENT_BRANCH=$(git name-rev --name-only HEAD) && git log origin/$GIT_CURRENT_BRANCH..$GIT_CURRENT_BRANCH --oneline - pr = pull --rebase - st = status -s - stat = show HEAD --stat + amend = commit --amend + br = branch + ci = commit + co = checkout + fixup = rebase -i HEAD~5 + g = "grep --heading --break" + lt = log --oneline --graph --all + l = log --pretty=format:'%<(10)%h %<(20)%an %s' + pending = !GIT_CURRENT_BRANCH=$(git name-rev --name-only HEAD) && git log origin/$GIT_CURRENT_BRANCH..$GIT_CURRENT_BRANCH --oneline + pr = pull --rebase + st = status -s + stat = show HEAD --stat + [core] - whitespace = trailing-space,space-before-tab - excludesfile = ~/.gitignore - pager = less -+$LESS -R + whitespace = trailing-space,space-before-tab + excludesfile = ~/.gitignore + pager = less -+$LESS -R [branch] - autosetuprebase = remote + autosetuprebase = remote [include] - path = ~/.gitconfig.private + path = ~/.gitconfig.private [http] - postBuffer = 524288000 + postBuffer = 524288000 |