dotfiles/.gitconfig

56 lines
1.4 KiB
INI
Raw Normal View History

2012-11-09 20:44:06 -08:00
[user]
name = Tony Grosinger
2020-05-18 07:28:26 -07:00
email = tony@grosinger.net
2012-11-09 20:44:06 -08:00
[color]
ui = auto
2015-10-12 13:58:31 -07:00
2016-08-08 14:03:50 -07:00
[color "status"]
added = green
branch = white bold ul
changed = 9 # Bright red
unmerged = 11 # Bright yellow
untracked = 32 # Brighter blue
2012-11-09 20:44:06 -08:00
[alias]
2017-01-20 15:12:32 -08:00
bv = branch -vv
2015-10-12 13:58:31 -07:00
co = checkout
amend = commit --amend
2016-08-08 14:03:50 -07:00
aq = commit --amend --no-edit
2015-10-12 13:58:31 -07:00
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
2016-08-08 14:03:50 -07:00
ri = "!f() { r=\"${1}\"; if [ \"${1}\" -eq \"${1}\" ]; then r=\"@~${1}\"; \
2017-11-07 13:41:08 -08:00
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): '
2015-10-12 13:58:31 -07:00
2014-04-15 07:57:16 -07:00
[push]
2015-10-12 13:58:31 -07:00
default = simple
[core]
2015-10-12 13:58:31 -07:00
editor = vim
excludesfile = /home/tgrosinger/.gitignore_global
pager = diff-so-fancy | less --tabs=4 -RFX
2015-10-12 13:58:31 -07:00
[diff]
tool = meld
2016-08-08 14:03:50 -07:00
renames = copies
compactionHeuristic = 1
submodule = log
2015-10-12 13:58:31 -07:00
[branch]
autosetuprebase = always
2015-10-12 13:58:31 -07:00
[pull]
2015-10-12 13:58:31 -07:00
rebase = true
2016-08-08 14:03:50 -07:00
[log]
date = local
[status]
submoduleSummary = true