Skip to content

fix: brought back amending commits #431

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

Merged
merged 2 commits into from
Jul 15, 2024
Merged

Conversation

isc-hwojnick
Copy link
Contributor

fixes #425

Copy link
Collaborator

@isc-pbarton isc-pbarton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • If I try to do an amend that includes a file changed by another user, the confirm button in the "Confirm amend" modal never gets its event attached.
  • I think the amend action is destructive enough to deserve its own warning modal that the user will have to confirm. Main points to get across in the warning are that amend will rewrite history and may lead to problems if the previous commit was pushed to a remote.

Otherwise this looks good.

@isc-hwojnick isc-hwojnick requested a review from isc-pbarton July 15, 2024 16:01
@isc-hwojnick isc-hwojnick merged commit 2f1bf57 into main Jul 15, 2024
2 checks passed
@isc-hwojnick isc-hwojnick deleted the allow-git-commit-ammend branch July 15, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Git commit amend
2 participants