summary refs log tree commit diff
path: root/.config/git/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/git/config')
-rw-r--r--.config/git/config18
1 files changed, 4 insertions, 14 deletions
diff --git a/.config/git/config b/.config/git/config
index 458280d..8c7f26e 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -27,7 +27,7 @@
     helper = !sh -c 'rbw get f94a873d-9d72-412e-a46d-53e4cd19a291 | xargs printf password=%s\\n'
 
 [core]
-    excludesfile = $HOME/.config/git/ignore
+    excludesfile = ~/.config/git/ignore
     filemode = false
     pager = less -F
 
@@ -65,7 +65,7 @@
     fix = "!f() { local c=${1:-$(git fuzzy commits || :)}; test -n \"$c\" && git fixup $c && git ri $c^; }; f"
     fixup = "!f() { local c=${1:-$(git fuzzy commits || :)}; test -n \"$c\" && git commit --fixup=$c; }; f"
     grep = grep --break --heading --line-number
-    l = !tig
+    l = nvlog
     ls = log --graph --decorate --stat
     mt = mergetool
     pushf = push --force-with-lease
@@ -175,17 +175,7 @@
 
 [includeIf "gitdir:~/src/unikraft/**"]
     path = ~/src/unikraft/.gitconfig
-
-
-# url rewrites
-; [url "git@github.com:"]
-;     insteadOf = "https://github.com/"
-[url "git@git.sr.ht:"]
-    insteadOf = "https://git.sr.ht/"
-; [url "git@bitbucket.org:"]
-;     insteadOf = "https://bitbucket.org/"
-; [url "git@gitlab.com:"]
-;     insteadOf = "https://gitlab.com/"
-
+[includeIf "gitdir:~/src/**"]
+    path = ~/.config/git/url.cfg
 
 ; vim: expandtab shiftwidth=4