Git Completion after colon in push command
- From
- Robert Dailey <rcdailey.lists@gmail.com>
- Date
- May 14, 2015, 18:52 UTC
- Message-ID
- <CAHd499Bn_bwbjFLJpcDFF5wE0Y6EgCYqJAQOZV=H-1XWmjb69A@mail.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.