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

You should be able to reset to any commit in the commit graph #2326

Closed
hakobpogh opened this issue Nov 7, 2022 · 4 comments
Closed

You should be able to reset to any commit in the commit graph #2326

hakobpogh opened this issue Nov 7, 2022 · 4 comments
Assignees
Labels
feature New feature or request verified ✔ Verified
Milestone

Comments

@hakobpogh
Copy link

I believe there should be a reset option on each commit to be able to reset to commit by just right-clicking on the item in the commit graph:

Screenshot 2022-11-07 at 2 51 41 PM

@hakobpogh hakobpogh added feature New feature or request triage Needs to be looked at labels Nov 7, 2022
@hakobpogh
Copy link
Author

This is especially helpful when you use rebases as your primary merging strategy. Then if you have one epic/story branch and you merge your features to it, frequently you might want to reset the local copy of your branch on the remote one, and the gitlens graph doesn't allow it.

To reproduce the case, create a branch on one computer, then push it. Then on some other computer, rebase and force push the same branch. Finally, on the first computer, fetch and try to reset your local branch on the remote. It just doesn't suggest resetting in the context menu at all. (You can see the photo)

@eamodio eamodio self-assigned this Nov 12, 2022
@eamodio eamodio removed the triage Needs to be looked at label Nov 12, 2022
@eamodio eamodio added this to the 13.1 milestone Nov 12, 2022
@eamodio eamodio added pending-release Resolved but not yet released to the stable edition needs-verification Request for verification labels Nov 12, 2022
@eamodio
Copy link
Member

eamodio commented Nov 12, 2022

Can you please verify this fix in tomorrow's pre-release edition of GitLens? Thank you so much!

You can switch to the pre-release edition of GitLens, by clicking on the "Switch to Pre-Release version of this extension" from the Extensions view.

image

@hakobpogh
Copy link
Author

I've tested it. Now it works. Thanks a lot.

@eamodio eamodio added verified ✔ Verified and removed needs-verification Request for verification labels Nov 12, 2022
@d13 d13 removed the pending-release Resolved but not yet released to the stable edition label Nov 22, 2022
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request verified ✔ Verified
Projects
None yet
Development

No branches or pull requests

3 participants