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

[Git] Undo last commit #1746

Closed
svenefftinge opened this issue Apr 19, 2018 · 0 comments
Closed

[Git] Undo last commit #1746

svenefftinge opened this issue Apr 19, 2018 · 0 comments
Assignees
Labels
git issues related to git

Comments

@svenefftinge
Copy link
Contributor

As a user I would like to have a more interactive commit amend, where I can reauthor the last commit freely. Other Git clients (e.g Github Desktop) has an undo last commit command.

In the git view the last commit shall be shown on the bottom of the view.
A secondary button Undo will do the following:

  • fetch the comment of the last commit and set it into the comment input field if it's empty.
  • call git reset HEAD~1 --soft (Which will reset with the changes from the last commit staged).
@kittaakos kittaakos added the git issues related to git label Apr 22, 2018
kittaakos added a commit that referenced this issue Apr 25, 2018
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
kittaakos added a commit that referenced this issue Apr 25, 2018
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
kittaakos added a commit that referenced this issue Apr 25, 2018
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
kittaakos added a commit that referenced this issue Apr 25, 2018
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
kittaakos added a commit that referenced this issue Apr 25, 2018
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
kittaakos added a commit that referenced this issue Apr 25, 2018
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
kittaakos added a commit that referenced this issue Apr 25, 2018
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
kittaakos added a commit that referenced this issue Apr 25, 2018
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
kittaakos added a commit that referenced this issue Apr 26, 2018
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
git issues related to git
Projects
None yet
Development

No branches or pull requests

2 participants