-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Remove 'undo commit' command from gitlens inspect #2746
Comments
Is it possible to bump the priority of this, please? Any action affecting working copy should ask for a confirmation. |
Fixed by 056e19c (wrong commit message) Moved Undo Commit to Commit submenu |
@eamodio I've just tried Sorry, can't attach the screenshot as I was testing it on the work machine. |
@yurymann Are you looking at this in the File History or Line History views? |
No, this is only for the File History & Line History. You can open another issue for the Commits view, but given the usage and intent in that view I'm not convinced on removing that option, but if there is enough community agreement we can revisit. |
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. |
Discussed in #2745
Originally posted by mdj-uk June 16, 2023
When in the gitlens inspect file history, or commit history, there is a button to undo the latest commit (the first icon from the left):
I find it very easy to hit that accidentally, which makes me scared to use just about any gitlens feature.
Is there any way to remove it, or to require a confirmation step? I couldn't find any option in the extension settings.
The text was updated successfully, but these errors were encountered: