* .config/git/config: Don't set core.autocrlf = input.
[~bandali/configs] / .config / git / config
index afa03c0..f1ac520 100644 (file)
@@ -3,14 +3,14 @@
        email = bandali@gnu.org
        signingKey = BE6273738E616D6D1B3A08E8A21A020248816103
 
        email = bandali@gnu.org
        signingKey = BE6273738E616D6D1B3A08E8A21A020248816103
 
-[commit]
+[tag]
        gpgSign = true
 
 # [format]
 #      signoff = true
 
 [core]
        gpgSign = true
 
 # [format]
 #      signoff = true
 
 [core]
-       autocrlf = input  # CRLF -> LF on commit
+#      autocrlf = input  # CRLF -> LF on commit
        editor = emacsclient -t
        pager = "less"
 
        editor = emacsclient -t
        pager = "less"
 
        a = add
        s = status
        sl = status --long
        a = add
        s = status
        sl = status --long
+       l = log
        c = checkout
        cb = checkout -b
        b = branch
        c = checkout
        cb = checkout -b
        b = branch
+       d = diff
+       f = fetch
        r = rebase
        p = pull
        pr = pull --rebase
        r = rebase
        p = pull
        pr = pull --rebase
 
 [init]
        defaultBranch = main
 
 [init]
        defaultBranch = main
+
+[url "bandali@git.launchpad.net:"]
+       insteadof = lp:
+[url "git@salsa.debian.org:"]
+       insteadof = salsa:
+[url "git@salsa.debian.org:gnome-team/"]
+       insteadof = pkg-gnome:
+[url "git@salsa.debian.org:bandali/"]
+       insteadof = salsa-bandali:
+[url "git@github.com:"]
+       insteadof = gh:
+[merge "dpkg-mergechangelogs"]
+       name = debian/changelog merge driver
+       driver = dpkg-mergechangelogs -m %O %A %B %A
+
+[includeIf "gitdir:~/s/canonical/"]
+       path = ~/.config/git/config.canonical
+[includeIf "gitdir:~/s/sfl/"]
+       path = ~/.config/git/config.sfl