-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
Create Fixup Commits #829
Comments
related to #32 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm still dearly missing this, is this blocked by the same missing library functionality as #32 (comment) ? |
Same here. I frequently use the amend feature in the commit window. |
ok if its just about rewording a commit msg we can probbaly easily hack something together. reuse the |
@pe still interested to work on that? |
Not really at the moment. Sorry. |
#312 does most of the heavy lifting already |
* reuse commit popup for reword * switch to status after reword * show command * prepopulate with old msg * changelog Closes #829
I built and tested the new reword feature locally. It's pretty cool, but only part of the solution. Reword and fixup are the separate two actions an amendment does, the man page for git-commit (--fixup section) explains it quite nicely.
gitui already can do what Unfortunately my Rust skills are very meager so far, so I have a hard time understanding the code, let alone contributing. |
ok wait so what variants are there:
where we now have 1 and 3 but still miss 2? if so can you explain exactly what it does? Can you put that clear description into a new issue?
no it does rebase, that's why it needs a clean state |
I think this issue was closed incorrectly and I would love having the feature as originally described here. I'll give a longer explanation since I think this issue was a bit misunderstood. Apologies if this is unecessary. Sometimes you'll find yourself wanting to fix issues in your previous commits, but you want to preserve the commit history, at least temporarily, and then later squash these fixes into the original commits they fixed. A good example of this is submitting a PR for review. Its been reviewed and you now want to fix some of the previous commits - however you don't want to rebase as this would mess with anyone doing a follow-up review. git provides What would be nice is if gitui enabled doing
To be clear - there is no actual rebase involved here. Only |
* reuse commit popup for reword * switch to status after reword * show command * prepopulate with old msg * changelog Closes extrawurst#829
Is your feature request related to a problem? Please describe.
Creating a fixup commit is complex. It's not possible only with gitui and possibe but still cumbersome with other tools.
Describe the solution you'd like
Describe alternatives you've considered
Using gitui:
git commit --fixup
+ pasted hashIn other git clients (sourcetree, tig) I created an external command
git commit --fixup {SHA}
. Then I(I'm open to implement this myself. It would depend on the effort and your willingness to accept it though.)
The text was updated successfully, but these errors were encountered: