warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.28k stars 370 forks source link

Show remote branches in git-switch completion #1980

Open hstandaert opened 2 years ago

hstandaert commented 2 years ago

Discord username (optional)

No response

Describe the solution you'd like?

Display remote branches in the completion list for [git-switch](https://git-scm.com/docs/git-switch) in the `<remote>/<branch>` format.

Is your feature request related to a problem? Please describe.

I noticed that remote branches are only displayed in the completion for [git-checkout](https://git-scm.com/docs/git-checkout), yet this functionality is also available in [git-switch](https://git-scm.com/docs/git-switch).

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

No response

dannyneira commented 2 years ago

Thanks for this feature request! Please +1 this request as it helps us gauge interest. We will post any updates here.

We may be opening up our completion spec for open-source contribution at some point, and have our completion support listed here.