added completion for git branch --remotes (-r)

This commit is contained in:
Bagohart 2022-12-07 13:21:10 +01:00 committed by Fabian Boehm
parent 35bad1f94c
commit 494615891b

View File

@ -1166,6 +1166,7 @@ complete -f -c git -n '__fish_git_using_command branch' -s M -d 'Force rename br
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 r -l remotes -d 'List or delete (if used with -d) the remote-tracking 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'