]> git.wh0rd.org - home.git/blobdiff - .gitconfig
PS1: shorten slightly & add PS0 recovery
[home.git] / .gitconfig
index 27f61cb05daa823ee62ab91a61ddb8e50402b096..b3201a925db28b5845bf0ac0c97440dbb6ded26a 100644 (file)
 [diff]
        renames = true
 
+# 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
+
 [push]
        default = current
 
 [alias]
        a    = add
-       ab   = abandon
        am-a = am --abort
        am-c = am --continue
        ar   = archive
        cp-x = cherry-pick -x
        d    = diff
        desc = describe
-       dl   = download
        f    = fetch
        fp   = format-patch -C -M
        g    = grep
        h    = help
        l    = log
-       m    = merge
+       lf   = log --format= --name-only
+       m    = merge --log=100 --no-stat
        rb   = rebase
        rb-d = rebase --committer-date-is-author-date
        rb-a = rebase --abort
@@ -66,7 +74,6 @@
        sm   = submodule
        st   = status
        t    = tag
-       up   = upload
 
 [tag]
        sort = version:refname