From 0860db73ae6fd9a6f6347219d820bf026a6b8b91 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 27 Sep 2026 17:38:39 +0200 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- .config/git/config | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to '.config/git/config') 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 -- cgit 1.4.1