dotfiles/.gitconfig
2017-11-07 13:41:08 -08:00

56 lines
1.3 KiB
INI

[user]
name = Tony Grosinger
email = tony@grosinger.net
[color]
ui = auto
[color "status"]
added = green
branch = white bold ul
changed = 9 # Bright red
unmerged = 11 # Bright yellow
untracked = 32 # Brighter blue
[alias]
bv = branch -vv
co = checkout
amend = commit --amend
aq = commit --amend --no-edit
c = commit
rv = review -R
s = status -sb
d = diff --color-words --minimal
b = branch
pp = log --color --graph --pretty=format:'%Cred%h%Creset %Cgreen(%cr) %Creset\t%s %C(bold blue)<%an> %C(yellow)%d%Creset' --abbrev-commit
cr = difftool --dir-diff
type = cat-file -t
dump = cat-file -p
hist = log --pretty=format:\"%C(yellow)%h %C(blue)%ad %C(red)%d %C(reset)%s %C(green)[%an]\" --decorate --graph --date=short --all
ri = "!f() { r=\"${1}\"; if [ \"${1}\" -eq \"${1}\" ]; then r=\"@~${1}\"; \
fi >/dev/null 2>&1; git rebase --autosquash -i \"${r}\"; }; f"
[push]
default = simple
[core]
editor = vim
excludesfile = /home/tgrosinger/.gitignore_global
pager = bash -lc 'diff-highlight | less -F -R -X -x1,5' -
[diff]
tool = meld
renames = copies
compactionHeuristic = 1
submodule = log
[branch]
autosetuprebase = always
[pull]
rebase = true
[log]
date = local
[status]
submoduleSummary = true