diff --git a/share/completions/git.fish b/share/completions/git.fish index e5d6c21bd..fd3bd7ec3 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -960,12 +960,15 @@ complete -f -c git -n '__fish_git_needs_command' -a bisect -d 'Find the change t ### branch complete -f -c git -n '__fish_git_needs_command' -a branch -d 'List, create, or delete branches' complete -f -c git -n '__fish_git_using_command branch' -a '(__fish_git_branches)' -complete -f -c git -n '__fish_git_using_command branch' -s d -d 'Delete branch' -xa '(__fish_git_local_branches)' +complete -f -c git -n '__fish_git_using_command branch' -s d -l delete -d 'Delete branch' -xa '(__fish_git_local_branches)' complete -f -c git -n '__fish_git_using_command branch' -s D -d 'Force deletion of branch' -xa '(__fish_git_local_branches)' -complete -f -c git -n '__fish_git_using_command branch' -s m -d 'Rename branch' -complete -f -c git -n '__fish_git_using_command branch' -s M -d 'Force renaming branch' -complete -f -c git -n '__fish_git_using_command branch' -s a -d 'Lists both local and remote branches' -complete -f -c git -n '__fish_git_using_command branch' -s t -l track -d 'Track remote branch' +complete -f -c git -n '__fish_git_using_command branch' -s f -l force -d 'Reset branch even if it already exists' +complete -f -c git -n '__fish_git_using_command branch' -s m -l move -d 'Rename branch' +complete -f -c git -n '__fish_git_using_command branch' -s M -d 'Force rename branch' +complete -f -c git -n '__fish_git_using_command branch' -s c -l copy -d 'Copy branch' +complete -f -c git -n '__fish_git_using_command branch' -s C -d 'Force copy branch' +complete -f -c git -n '__fish_git_using_command branch' -s a -l all -d 'Lists both local and remote branches' +complete -f -c git -n '__fish_git_using_command branch' -s t -l track -l track -d 'Track remote branch' complete -f -c git -n '__fish_git_using_command branch' -l no-track -d 'Do not track remote branch' complete -f -c git -n '__fish_git_using_command branch' -l set-upstream-to -d 'Set remote branch to track' complete -f -c git -n '__fish_git_using_command branch' -l merged -d 'List branches that have been merged'