dotfiles/dot_gitconfig

75 lines
1.7 KiB
Plaintext
Raw Normal View History

2022-05-10 13:58:50 -04:00
[include]
path = /home/andrew/.config/git/delta.gitconfig
2021-08-16 12:46:01 -04:00
2021-04-12 21:55:22 -04:00
[push]
default = simple
[user]
name = Andrew Coleman
email = penguincoder@gmail.com
[advice]
detachedHead = false
[core]
filemode = true
eol = lf
autocrlf = input
pager = delta
[init]
defaultBranch = main
[delta]
2022-05-10 13:58:50 -04:00
line-numbers = true
2022-11-09 09:27:07 -05:00
line-numbers-zero-style = white
line-numbers-minus-style = bold red
line-numbers-plus-style = bold green
2022-05-10 13:58:50 -04:00
file-style = omit
2022-11-09 09:27:07 -05:00
hunk-header-style = file
syntax-theme = base16
2021-04-12 21:55:22 -04:00
[rebase]
autoStash = true
[merge]
tool = vimdiff
conflictstyle = diff3
prompt = false
[pull]
rebase = true
[color]
branch = auto
diff = auto
status = auto
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = red
[alias]
logp = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
lg = log --graph --date-order --first-parent \
--pretty=format:'%C(auto)%h%Creset %C(auto)%d%Creset %s %C(green)(%ad) %C(bold cyan)<%an>%Creset'
lgb = log --graph --date-order --branches --first-parent \
--pretty=format:'%C(auto)%h%Creset %C(auto)%d%Creset %s %C(green)(%ad) %C(bold cyan)<%an>%Creset'
lga = log --graph --date-order --all \
--pretty=format:'%C(auto)%h%Creset %C(auto)%d%Creset %s %C(green)(%ad) %C(bold cyan)<%an>%Creset'
2022-05-10 13:58:50 -04:00
up = pull --rebase
2021-04-12 21:55:22 -04:00
branches-last-updated = branch -rv --sort=committerdate --format='%(HEAD) %(color:green)%(committerdate:relative)%(color:reset)\t%(color:magenta)%(authorname)%(color:reset)\t%(color:yellow)%(refname:short)%(color:reset)'