From: Samir Benmendil Date: Wed, 13 Apr 2016 12:55:49 +0000 (+0100) Subject: zsh: alias for `git push --force-with-lease` X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/29ea03fd22f080a2d12f895ced0e33ee07771587 zsh: alias for `git push --force-with-lease` Try not to use `git push -f` anymore! --- diff --git a/zsh/aliases/git.zsh b/zsh/aliases/git.zsh index 87a708c..a51ec1e 100644 --- a/zsh/aliases/git.zsh +++ b/zsh/aliases/git.zsh @@ -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'