# Git Completion after colon in push command

1 messages from 2015-05-14 to 2015-05-14. Participants: Robert Dailey.
Thread: https://gitlist.dev/t/39339

## Robert Dailey, 2015-05-14 18:52

Subject: Git Completion after colon in push command
Message-ID: <CAHd499Bn_bwbjFLJpcDFF5wE0Y6EgCYqJAQOZV=H-1XWmjb69A@mail.gmail.com>
URL: https://gitlist.dev/e/CAHd499Bn_bwbjFLJpcDFF5wE0Y6EgCYqJAQOZV%3DH-1XWmjb69A%40mail.gmail.com

```
I Googled around for an answer to this but I'm concerned maybe it's an
issue with my environment. Perhaps you guys can help me out.

I'm using Git 2.4.1 on Windows through mintty terminal. I grabbed the
latest git completion shell script from here:
https://github.com/git/git/blob/master/contrib/completion/git-completion.bash

I source it manually in my .bashrc file.

Tab completion works for ref names everywhere except for push. Suppose
I have a branch named "releases/1.2.3"

When I do this:

$ git push origin :rele

Right at the end of that, I press TAB expecting it to complete the ref
I'm pushing to delete. But it does nothing. Any reason for this? I
recall this used to work a few months ago before I upgraded.

Thanks in advance.

```
