Closed aeonik closed 1 month ago
I wonder if this why I'm running into issues separating 1 change amongst 3 of the same file:
https://github.com/gitbutlerapp/gitbutler/assets/15182/25f5dba6-012c-4d46-86ed-ddbded013844
We now support dragging files out of commits as well as commit files in git add -p
fashion by clicking on specific hunks.
Feel free to open new issues if the behavior is not how you expect 👍
Hello, I think it might be a good idea to have support for "unsquashing commits" and moving individual hunks from a single commit to other commits, or branches.
Use Case: Just now I made a change to a config file, and a build tool also updated the version in this same config file. I want to split the change out.
Using the CLI to split the commit, I would do this:
For splitting the hunk into a branch, I would do this:
Using Magit, splitting out the commit:
Using Magit, to move hunks to a different branch:
Regards, Aeonik