We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 233808d commit a3b811aCopy full SHA for a3b811a
contrib/completion/git-completion.bash
@@ -970,18 +970,18 @@ _git_remote ()
970
while [ $c -lt $COMP_CWORD ]; do
971
i="${COMP_WORDS[c]}"
972
case "$i" in
973
- add|show|prune|update) command="$i"; break ;;
+ add|rm|show|prune|update) command="$i"; break ;;
974
esac
975
c=$((++c))
976
done
977
978
if [ $c -eq $COMP_CWORD -a -z "$command" ]; then
979
- __gitcomp "add show prune update"
+ __gitcomp "add rm show prune update"
980
return
981
fi
982
983
case "$command" in
984
- show|prune)
+ rm|show|prune)
985
__gitcomp "$(__git_remotes)"
986
;;
987
update)
0 commit comments