X-Git-Url: https://git.wh0rd.org/?p=home.git;a=blobdiff_plain;f=.gitconfig;h=b3201a925db28b5845bf0ac0c97440dbb6ded26a;hp=fb128a2092a8bd50b809b57221a2c6b12a8e8270;hb=HEAD;hpb=52887a61af449802e791e1613e85726dd6825753 diff --git a/.gitconfig b/.gitconfig index fb128a2..833f6da 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,10 +1,21 @@ [user] name = Mike Frysinger email = vapier@gentoo.org +# signingkey = 0xE837F581 + +[advice] + detachedHead = false + skippedCherryPicks = false + +[core] + abbrev = 12 + pager = less -FRMX --tabs 4 -#10 + [color] ui = auto diff = auto status = auto + [color "diff"] old = red bold new = green bold @@ -12,33 +23,113 @@ frag = yellow bold whitespace = normal green meta = magenta + +[diff] + renames = true + +[fetch] + parallel = 4 + +# Settings used by Chromium's `git cl`. The defaults are brain-dead. +[gerrit] + skip-ensure-authenticated = true + squash-uploads = false + +[pager] + diff = diff-highlight | less + log = diff-highlight | less + show = diff-highlight | less + +[protocol] + # https://opensource.googleblog.com/2018/05/introducing-git-protocol-version-2.html + version = 2 + +[pull] + ff = only + [push] default = current + [alias] a = add - b = branch + am-a = am --abort + am-c = am --continue + ar = archive + b = branch -v bi = bisect + cfg = config ci = commit + cia = commit -a + ciaf = commit -a --fixup + ciam = commit --amend + ciaam = commit --amend -a + cif = commit --fixup co = checkout - cp = cherry-pick + cp = cherry-pick --ff + cp-a = cherry-pick --abort + cp-c = cherry-pick --continue + cp-x = cherry-pick -x d = diff + dc = diff --cached + desc = describe f = fetch - fp = format-patch + fp = format-patch -C -M + g = grep + h = help l = log - m = merge + lf = log --format= --name-only + lp = log -p + m = merge --log=100 --no-stat rb = rebase + rb-d = rebase --committer-date-is-author-date rb-a = rebase --abort rb-c = rebase --continue rb-i = rebase --interactive rb-s = rebase --skip rl = rev-list - se = send-email - st = status + se = send-email -C -M + sm = submodule + st = status -s t = tag + vl = log --pretty='format:%Cred%h%Creset %Cgreen%ai%Creset %s%C(bold)%C(yellow)%d%Creset' + +[tag] + sort = version:refname + [merge] conflictstyle = diff3 + +[rebase] + autosquash = true + +[http] + cookiefile = ~/.gitcookies + +[submodule] + fetchJobs = 4 + +[transfer] + # https://groups.google.com/forum/m/#!topic/binary-transparency/f-BI4o8HZW0 + fsckobjects = true + +[init] + defaultBranch = main + +[merge "merge-changelog"] + name = GNU-style ChangeLog merge driver + driver = /usr/bin/git-merge-changelog %O %A %B + [sendemail] chainreplyto = false + confirm = always suppressfrom = true - smtpserver = localhost:1111 -# smtpserver = zeus.spd.analog.com + suppresscc = author + transferEncoding = 8bit +# composeencoding = utf-8 + assume8bitEncoding = 8bit + + sendmailcmd = ssh dev /usr/sbin/sendmail +# smtpEncryption = tls +# smtpServer = smtp.gentoo.org +# smtpUser = vapier +# smtpPass =