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

Checkout commit / branch on commit double-click #1985

Open
sonatique opened this issue Nov 26, 2024 · 0 comments
Open

Checkout commit / branch on commit double-click #1985

sonatique opened this issue Nov 26, 2024 · 0 comments

Comments

@sonatique
Copy link

Problem description

There is currently no action when double-clicking on a commit, I think it would be useful to implement checkout in this case

Preferred solution

I wish double-clicking would checkout current commit in the following way:

  • if there is no branch tip for this commit: offer to checkout this commit in a detached way via a confirmation dialog
  • if there is a single remote branches: create tracking local branch and checkout
  • if there are multiple remote branches (no local branch): dialog for selecting branch, then create tracking branch and checkout
  • if there is a single local branch: checkout
  • if there are multiple local branch: dialog for selecting branch, then checkout
  • if there are a combination of local and remote branches: dialog for selecting branch then create local / checkout as needed

This would complete existing right-click checkout menu with added agility for common use-cases.

Thank you!

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