dotfiles/.gitconfig

39 lines
1.5 KiB
INI
Raw Normal View History

2015-03-23 09:43:45 +00:00
[user]
2015-03-26 17:59:16 +00:00
name = Scott Wallace
email = scott@wallace.sh
2015-03-23 09:43:45 +00:00
[push]
default = simple
[pack]
deltaCacheSize = 256m
packSizeLimit = 256m
windowMemory = 256m
[core]
packedGitLimit = 128m
packedGitWindowSize = 128m
autocrlf = input
excludesfile = ~/.gitignore_global
2018-07-20 10:22:09 +01:00
pager = less -SRFX
2018-12-13 16:43:14 +00:00
sshCommand = ssh -q
2015-03-23 09:43:45 +00:00
[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 = !git remote prune origin && git fetch -p && git branch -vv | awk '/: gone]/ {print $1}' | xargs -r git branch -D
2016-11-17 08:03:02 +00:00
update = !git pull && git tidy
st = status
ci = commit
co = checkout
cp = cherry-pick --ff
br = branch
2018-12-13 16:43:14 +00:00
up = !git update
ref = for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' --sort=committerdate
rl = reflog --date=iso
tags = tag --sort=taggerdate
gc-all = -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0 -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now gc
[color]
ui = true
2015-03-26 20:49:28 +00:00
[branch]
autosetuprebase = always