Added --force-with-lease method (#5025)

master
Jonathan Channon 9 years ago committed by Robby Russell
parent 766b47d8b8
commit 5486aa21eb
  1. 4
      plugins/git/git.plugin.zsh

@ -107,6 +107,10 @@ ggf() {
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
git push --force origin "${b:=$1}"
}
ggfl() {
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
git push --force-with-lease origin "${b:=$1}"
}
compdef _git ggf=git-checkout
ggl() {

Loading…
Cancel
Save