dotfiles/.gitconfig
2019-12-11 09:43:54 -08:00

56 lines
1.4 KiB
INI

[user]
name = Tony Grosinger
email = tgrosinger@extrahop.com
[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
s = status -sb
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
type = cat-file -t
dump = cat-file -p
hist = log --pretty=format:\"%C(yellow)%h %C(blue)%cd %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"
patch = !git --no-pager diff --no-color
diff = diff-so-fancy | less --tabs=4 -RFXS --pattern '^(Date|added|deleted|modified): '
[push]
default = simple
[core]
editor = vim
excludesfile = /home/tgrosinger/.gitignore_global
pager = diff-so-fancy | less --tabs=4 -RFX
[diff]
tool = meld
renames = copies
compactionHeuristic = 1
submodule = log
[branch]
autosetuprebase = always
[pull]
rebase = true
[log]
date = local
[status]
submoduleSummary = true