X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.gitconfig;h=6ad94d24c7e4ff78333c00c408cb005ee29f5293;hb=6f92aeeb2e854f3daf6acd733ddfedcda42e7c8f;hp=19d575c8ec912c18718bd78f29107b2b7ea116df;hpb=4db942a3f9bac7bb2c02ccf31984486feb368ef3;p=home.git diff --git a/.gitconfig b/.gitconfig index 19d575c..6ad94d2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -3,6 +3,10 @@ email = vapier@gentoo.org # signingkey = 0xE837F581 +[advice] + detachedHead = false + skippedCherryPicks = false + [core] abbrev = 12 pager = less -FRMX --tabs 4 -#10 @@ -23,26 +27,31 @@ [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 +[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 - ab = abandon am-a = am --abort am-c = am --continue ar = archive @@ -50,20 +59,27 @@ 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 --ff cp-a = cherry-pick --abort cp-c = cherry-pick --continue cp-x = cherry-pick -x d = diff + dc = diff --cached desc = describe - dl = download f = fetch 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 @@ -73,9 +89,9 @@ rl = rev-list se = send-email -C -M sm = submodule - st = status + st = status -s t = tag - up = upload + vl = log --pretty='format:%Cred%h%Creset %Cgreen%ai%Creset %s%C(bold)%C(yellow)%d%Creset' [tag] sort = version:refname @@ -93,6 +109,9 @@ # 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 @@ -103,3 +122,6 @@ suppressfrom = true suppresscc = author smtpserver = localhost:1111 + transferEncoding = 8bit +# composeencoding = utf-8 + assume8bitEncoding = 8bit