dotfiles/.gitconfig

36 lines
1.3 KiB
INI

[user]
name = Scott Wallace
email = scott@wallace.sh
[push]
default = simple
[pack]
deltaCacheSize = 256m
packSizeLimit = 256m
windowMemory = 256m
[core]
packedGitLimit = 128m
packedGitWindowSize = 128m
autocrlf = input
excludesfile = ~/.gitignore_global
pager = less -SRFX
[alias]
lg1 = log --graph --abbrev-commit --decorate --date=relative --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)'
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg = !"git lg1"
lgd = log -p --decorate
history = log --pretty=oneline --abbrev-commit --all --graph --decorate
tidy = remote prune origin
update = !git pull && git tidy
st = status
ci = commit
co = checkout
cp = cherry-pick --ff
br = branch
ref = for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' --sort=committerdate
rl = reflog --date=iso
tags = tag --sort=taggerdate
[color]
ui = true
[branch]
autosetuprebase = always