From a579570937b1c643286747c15843cf4253726213 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Mon, 16 Aug 2021 12:34:27 -0400 Subject: [PATCH] update .gitconfig --- dot_gitconfig | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 dot_gitconfig diff --git a/dot_gitconfig b/dot_gitconfig new file mode 100644 index 0000000..e028157 --- /dev/null +++ b/dot_gitconfig @@ -0,0 +1,96 @@ +[delta "woolly-mammoth"] + # author: https://github.com/Kr1ss-XD + commit-decoration-style = 232 130 box + commit-style = 232 bold 130 + dark = true + file-added-label = [+] + file-copied-label = [C] + file-decoration-style = "#606018" overline + file-modified-label = [M] + file-removed-label = [-] + file-renamed-label = [R] + file-style = 232 bold 184 + hunk-header-decoration-style = none + hunk-header-style = syntax bold 237 + line-numbers = true + line-numbers-left-format = "{nm:>1}┊" + line-numbers-left-style = red + line-numbers-minus-style = red black + line-numbers-plus-style = green black + line-numbers-right-format = "{np:>1}┊" + line-numbers-right-style = green + line-numbers-zero-style = "#545474" + minus-emph-style = syntax bold "#780000" + minus-style = syntax "#400000" + plus-emph-style = syntax bold "#007800" + plus-style = syntax "#004000" + syntax-theme = Vibrant Sunburst + whitespace-error-style = "#280050" reverse + zero-style = syntax + +[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] + features = woolly-mammoth + +[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' + up = pull --rebase + 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)' +# gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D"