Skip to content

Remove 'undo commit' command from gitlens inspect #2746

@d13

Description

@d13

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):
image

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.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions