How do i move partial changes (hunks) between commits?
if i have two commits with a distance of many commits between them, with many files committed in both of them, how is it best to move a hunk from one to the other, for example: in commit 100: i have many files changes and many changes in a file "aa.txt" and also this one: - aaaa - bbbb + cccc 10 commits later i have another commit changing a lot of files and also "aa.txt": +dddd I want to move the line change -aaaa from the former to the later. Is there any CLI/UI tool that helps you to easily do it? (i obviously have no problem with history rewriting)
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.