From 7d46c780820d1346344121d8f7f7b5528c9ea680 Mon Sep 17 00:00:00 2001 From: Benjamin Reitzammer Date: Thu, 31 Aug 2017 04:59:49 +0200 Subject: [PATCH] add --force-with-lease completion for git push (#4368) (cherry picked from commit 72244dee5b74ea167cd09ab6701b8d4c3588debe) --- share/completions/git.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index d8e9df6d7..b84ba97d6 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -746,6 +746,7 @@ complete -f -c git -n '__fish_git_using_command push' -l tags -d 'Push all refs complete -f -c git -n '__fish_git_using_command push' -s n -l dry-run -d 'Do everything except actually send the updates' complete -f -c git -n '__fish_git_using_command push' -l porcelain -d 'Produce machine-readable output' complete -f -c git -n '__fish_git_using_command push' -s f -l force -d 'Force update of remote refs' +complete -f -c git -n '__fish_git_using_command push' -s f -l force-with-lease -d 'Force update of remote refs, stopping if other\'s changes would be overwritten' complete -f -c git -n '__fish_git_using_command push' -s u -l set-upstream -d 'Add upstream (tracking) reference' complete -f -c git -n '__fish_git_using_command push' -s q -l quiet -d 'Be quiet' complete -f -c git -n '__fish_git_using_command push' -s v -l verbose -d 'Be verbose'