]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vcs: gitconfig: update ru alias to include --prune
authorSimon Ruderich <simon@ruderich.org>
Mon, 15 Jul 2024 06:27:59 +0000 (08:27 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 15 Jul 2024 06:27:59 +0000 (08:27 +0200)
vcs/gitconfig.in

index 9fe449d46fab2d5cd22668cf6cb5ce0798beebf4..6cc6b7dd11f1b022d63e3307fa57fa6a5409858e 100644 (file)
@@ -74,7 +74,7 @@
        pf  = push --force-with-lease
        # Parallel git remote update. Also strips unnecessary output.
        ru = "! git remote \
-             | xargs -d '\\n' -n1 -P0 git remote update 2>&1 \
+             | xargs -d '\\n' -n1 -P0 git remote update --prune 2>&1 \
              | sed '/^$/d; \
                     /^Please make sure you have the correct access rights$/d; \
                     /^and the repository exists\\.$/d;'"