Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
No completion offered for remote branch in git push #3035
The command to push a local branch to a remote branch is:
Fish does tab completion when typing
Fish version: 2.2.0
There is another case which doesn't work:
Here fish doesn't provide any completion for the remote_branch. If I type a space after : the completions work.
When there is already a "src:", we assume that it is a valid ref and just complete "dst". This allows completion of dest if src is e.g. a commit SHA (completing all possible refs would probably impact performance). See issue #3035.