Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"git checkout/switch" with branches from remotes #1041

Open
hongquan opened this issue Feb 9, 2025 · 0 comments
Open

"git checkout/switch" with branches from remotes #1041

hongquan opened this issue Feb 9, 2025 · 0 comments

Comments

@hongquan
Copy link
Contributor

hongquan commented Feb 9, 2025

The autocomplete provider for git checkout or git switch should also return branches which don't exist in local copy but exists in one of remotes. For example, we have:

git branch -a
* development
  feature/reformat-with-ruff
  feature/uv-ruff
  fix/gh-action-deploy
  remotes/origin/HEAD -> origin/development
  remotes/origin/development
  remotes/upstream/development
  remotes/upstream/docker-dev

The docker-dev exists in "upstream" remote but not in "origin", nor local. It should be included in the auto-complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant