---
contrib/completion/git-completion.bash | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 499e56f83d..fa25d689e2 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2334,7 +2334,7 @@ _git_remote ()
{
local subcommands="
add rename remove set-head set-branches
- get-url set-url show prune update
+ get-url set-url show prune rm update
"
local subcommand="$(__git_find_on_cmdline "$subcommands")"
if [ -z "$subcommand" ]; then
@@ -2379,6 +2379,9 @@ _git_remote ()
prune,--*)
__gitcomp_builtin remote_prune
;;
+ rm,--*)
+ __gitcomp_builtin remote_rm
+ ;;
*)
__gitcomp_nl "$(__git_remotes)"
;;
--
2.20.1.windows.1