aliases: git: Modernize 'gpf' and make it use --force-with-lease

pull/2176/head
Roy Attias 2022-12-02 21:24:34 +02:00 committed by Roy Attias
parent ac69c5585e
commit 40d6ef83d6
1 changed files with 2 additions and 1 deletions

View File

@ -103,7 +103,8 @@ alias gpatch='git format-patch -1'
# push
alias gp='git push'
alias gpd='git push --delete'
alias gpf='git push --force'
alias gpf='git push --force-with-lease'
alias gpff='git push --force'
alias gpo='git push origin HEAD'
alias gpom='git push origin $(get_default_branch)'
alias gpu='git push --set-upstream'