I know how to use "git rebase -i" to squash/fix to combine multiple commits 
into a single one.

I want to do the reverse.

Is there a way to "split" a commit by file?  Let's say I have a single commit 
that changes foo.cpp and bar.cpp.  Is there any simple way to split it 
retroactively into one commit for foo.cpp and a second commit for bar.cpp?  
(Say, after doing the atomic commit, I realize that they are solving separate 
bugs and I wish to split them into two different reviews, or only merge one 
into the main branch, or something like that.)

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to