-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 'Amend' can cause confusion #3851
Comments
I agree that it can be confusing. If you know what it does it is however super useful. |
Making it clear what 'Amend' does may help, though I like that the button is next to the commit so one knows exactly what one is amending. However I think this really needs the following:
|
I've had a discussion with our UX team and they are taking this on. It may take a few weeks to run some iterations through the sessions with the users. One initial comment is that the flow is out of order. If flow is going from top to bottom then we start at the top with unstaged changes, then the staged changes (which would include a list of the commits being amended), then the commit message, commit button, and at the bottom the unamended commits, newest at the top (though we only show one). Most Git clients seem to go top to bottom, VSCode goes bottom to top. |
Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
Changes that address this issue have been pushed here: A few odd more things to do before this is ready for a PR. |
Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
This has been resolved by #4279 which included the work discussed here. |
A number of our users are getting into trouble when they press 'Amend'. Often 'Amend' is pressed more than once because the user did not notice that it really did anything. At this point the user is stuck, the only thing they can do is to press 'Commit'. They then have a merged commit of a number of commits, but it is not obvious that this is what happened unless the user uses other tools to have a look. They then have to use the Git CLI or some other tool to restore.
It is hard to know what should be happening, but the current implementation is a definite UX issue.
This is a follow-on from #1746
The text was updated successfully, but these errors were encountered: