From ddfc870f9aae4f43da10863a175cee2c91485cde Mon Sep 17 00:00:00 2001 From: Justin Filip Date: Tue, 24 Nov 2015 20:13:31 -0500 Subject: [PATCH] Use less destructive git push --force-with-lease. --- modules/git/alias.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index ffa854d..d603830 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -117,7 +117,8 @@ alias gmt='git mergetool' # Push (p) alias gp='git push' -alias gpf='git push --force' +alias gpf='git push --force-with-lease' +alias gpF='git push --force' alias gpa='git push --all' alias gpA='git push --all && git push --tags' alias gpt='git push --tags'