]> git.rmz.io Git - dotfiles.git/commitdiff
zsh: alias for `git push --force-with-lease`
authorSamir Benmendil <me@rmz.io>
Wed, 13 Apr 2016 12:55:49 +0000 (13:55 +0100)
committerSamir Benmendil <me@rmz.io>
Wed, 13 Apr 2016 12:57:12 +0000 (13:57 +0100)
Try not to use `git push -f` anymore!

zsh/aliases/git.zsh

index 87a708c4db3b285f36035fcae61e6fc1b7dad6a3..a51ec1ec6747d9cf6611ea6f048a70481d8943a1 100644 (file)
@@ -8,6 +8,7 @@ alias gl='git pull'
 alias gup='git pull --rebase'
 
 alias gp='git push'
+alias gpf='git push --force-with-lease'
 
 alias gd='git diff'
 alias gdc='git diff --cached'