-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add git amend -i for a TUI #1019
Comments
I agree that this would be useful, but I don't have any plans to work on it. You could try https://github.com/martinvonz/jj which does have a |
Out of curiosity, why is it this isn't something that's planned? Is it too much work to integrate the existing TUI with amend? The TUI is really great - I think it'd make branchless a bit more intuitive to be able to use the TUI in other places since it's working with Unfortunately jj is incompatible with my repo. |
For ex. I can accomplish it w/ a couple commands, so I'm wondering if much of the internals could be reused here.
|
I just haven't had time to work on it. It should be reasonably straightforward if you want to work on it (but not trivial, because you have to synthesize the partial commit — you can see how it's done here:
).
You would also want to support the |
Thanks for the update - makes sense! |
Tried and found that As a git user, I'm more comfortable with the behavior of |
We have jj-vcs/jj#323 for that |
Description of the bug
For
git amend
the docs state that if I want to amend only some changes, I should add those to the staging area first.I then expected there to be
git amend -i
- similar togit record -i
- where I can choose with the TUI which changes to stage. This would be great so that I don't need to create a new commit each time I want to use the TUI to add only some changes.Expected behavior
No response
Actual behavior
No response
Version of
rustc
No response
Automated bug report
No response
Version of
git-branchless
No response
Version of
git
No response
The text was updated successfully, but these errors were encountered: