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

SCM: Outgoing commit should have Undo Commit #203313

Open
joaomoreno opened this issue Jan 24, 2024 · 0 comments
Open

SCM: Outgoing commit should have Undo Commit #203313

joaomoreno opened this issue Jan 24, 2024 · 0 comments
Assignees
Labels
feature-request Request for new features or functionality git GIT issues
Milestone

Comments

@joaomoreno
Copy link
Member

joaomoreno commented Jan 24, 2024

Testing #203075

It would be great to have an Undo Commit and have it appear in the context menu of outgoing commits.

  • If the commit is the last one, it just does what Undo Last Commit does, we have this today.
  • Otherwise, it rebases the commits such that the commit that was selected gets moved to the top, thus becoming the last. (see SCM: Support reordering outgoing commits #203315) Then, Undo Last Commit can run.

Furthermore, Git: Undo Commit... could be an F1 action which would first show all outgoing commits in a quick pick. Once the user picks a commit, the steps above would run.

@joaomoreno joaomoreno added the feature-request Request for new features or functionality label Jan 24, 2024
@lszomoru lszomoru added the git GIT issues label Jan 24, 2024
@lszomoru lszomoru added this to the February 2024 milestone Jan 24, 2024
@lszomoru lszomoru modified the milestones: February 2024, On Deck Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality git GIT issues
Projects
None yet
Development

No branches or pull requests

2 participants