# # Feature rich configuration for git # Customize, then put me in your ~/.gitconfig # # Author: Bernie Innocenti # Please, send any improvements back to me # [user] name = Bernie Innocenti email = bernie@codewiz.org ;email = codewiz@chromium.org ;email = codewiz@google.com [core] sharedRepository = true whitespace = trailing-space,space-before-tab,cr-at-eol pager = delta [interactive] diffFilter = delta --color-only --features=interactive [delta] file-style = blue bold file-decoration-style = omit hunk-header-style = omit hunk-header-decoration-style = omit minus-emph-style = normal "#701011" plus-emph-style = syntax "#105010" line-numbers = true hyperlinks = true # hyperlinks-file-link-format = "vscode://file/{path}:{line}" # side-by-side = true navigate = true features = decorations [delta "interactive"] keep-plus-minus-markers = false [delta "decorations"] commit-decoration-style = blue ol commit-style = raw file-style = omit hunk-header-decoration-style = blue box hunk-header-file-style = red hunk-header-line-number-style = "#067a00" hunk-header-style = file line-number syntax [branch] autosetupmerge = 1 [diff] #colorMoved = plain colorMovedWs=allow-indentation-change [format] ;pretty = fuller [merge] diffstat = 1 renamelimit = 5000 [merge "gpg"] name = merge gpg-encrypted files driver = gpg-merge %O %A %B recursive = binary [log] decorate = short [sendemail] chainreplyto = false from = Bernie Innocenti aliasesfile = ~/.gitaliases aliasfiletype = mutt # requires a local SMTP server # smtpserver = /usr/sbin/sendmail # when smtps is open smtpserver = smtp.develer.com #smtpserver = smtp.sugarlabs.org smtpuser = bernie smtpencryption = tls # ssh tunnel # smtpserver = localhost # smtpserverport = 1465 # smtpuser = bernie # smtpencryption = ssl [apply] whitespace = warn [http] # for self-signed SSL certificates # sslVerify = 0 cookiefile = ~/.gitcookies [color] branch = auto diff = auto status = auto interactive = auto ui = auto [color "diff"] whitespace = red reverse [pager] branch = false [alias] a = add amen = commit -a --amend --no-edit amend = commit -a --amend b = branch -v br = branch bra = branch -a cl = clone ca = commit -a -v ci = commit -v co = checkout cp = cherry-pick d = diff dc = describe --contains di = diff fp = format-patch -k -M -N l = log --stat lp = log -p re = rebase --interactive sha = rev-parse HEAD st = status up = "!git remote update -p; git merge --ff-only @{u}" aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort # Google aliases sort = !git5 diff --name-only | grep -e '\\.java$' | xargs READONLY/google3/tools/java/sort_java_imports.py unused = !git5 diff --name-only | grep -e '\\.java$' | xargs READONLY/google3/tools/java/remove_unused_imports.py --fix buildify = !git5 diff --name-only | grep -e 'BUILD$' | xargs /google/data/ro/projects/devtools/buildifier/buildi lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit [pull] rebase = false [push] default = tracking [grep] lineNumber = 1 [credential] helper = cache [url "https://invent.kde.org/"] insteadOf = kde: [url "ssh://git@invent.kde.org/"] pushInsteadOf = kde: [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true [submodule] recurse = true [safe] directory = /srv/www-codewiz/wiki/data