From 7252bee74133a2b2e44c8e151e458b617897f1d6 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 3 Feb 2022 18:47:24 +0100 Subject: [PATCH] git: Add `filter-repo` as alias --- .config/git/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/git/config b/.config/git/config index a5ded12..5a8c4aa 100644 --- a/.config/git/config +++ b/.config/git/config @@ -3,6 +3,7 @@ detachedHead = off [alias] branches = track + filter-repo = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/git/git-filter-repo/git-filter-repo\"" fixes = log -1 --pretty=fixes root = rev-parse --show-toplevel spull = "!__git_spull() { git pull \"$@\" && git submodule sync --recursive && git submodule update --init --recursive; }; __git_spull"