mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Update: git.plugin.zsh --force => --force-with-lease.
https://developer.atlassian.com/blog/2015/04/force-with-lease/
This commit is contained in:
parent
d848c94804
commit
4681bc1a0a
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ alias gga='git gui citool --amend'
|
|||
|
||||
ggf() {
|
||||
[[ "$#" != 1 ]] && local b="$(git_current_branch)"
|
||||
git push --force origin "${b:=$1}"
|
||||
git push --force-with-lease origin "${b:=$1}"
|
||||
}
|
||||
compdef _git ggf=git-checkout
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue