]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vcs: gitconfig: add pf alias for force pushes (with lease)
authorSimon Ruderich <simon@ruderich.org>
Sun, 4 Jun 2023 05:13:33 +0000 (07:13 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 4 Jun 2023 05:13:33 +0000 (07:13 +0200)
vcs/gitconfig.in

index 1c42cdfd28230dfa34aac67dd9f1ba97fed27ef0..e7d0893515a1c0b8f08967bdb8827994f15c988c 100644 (file)
        f   = fetch
        t   = tag
        p   = push
+       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 \