From 9e5b5150dd2ee914ec67f610b00530b4aad59edd Mon Sep 17 00:00:00 2001 From: Shubham Chaudhary Date: Wed, 16 Aug 2017 10:42:20 +0530 Subject: [PATCH] Add alias for force git push --- plugins/git/git.plugin.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 34942d38..21a31b5c 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -189,6 +189,8 @@ alias gmum='git merge upstream/master' alias gp='git push' alias gpd='git push --dry-run' +alias gpf='git push --force' +alias gpfl='git push --force-with-lease' alias gpoat='git push origin --all && git push origin --tags' compdef _git gpoat=git-push alias gpu='git push upstream'