[cmake-developers] [CMake 0011944]: CPackDeb: Support dependencies between components/Debian packages

Stephen Kelly steveire at gmail.com
Wed Apr 29 16:32:45 EDT 2015


Domen Vrankar wrote:

> Usually what I do in such cases is
> - commit each patch separately to git
> - when I have to change one of them I just save commit messages, call
> "git format-patch -5 HEAD" where 5 is the amount of commits to the one
> that I wish to change
> - use "git reset --soft HEAD^" to undo commits
> - "git checkout *" to undo the changes
> - change the patch
> - commit once again
> - reapply other patches with "git apply --reject <path_to_patch>" (if
> needed search for rej files and apply parts manually)

I recommend git rebase:

https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase-i

Thanks,

Steve.




More information about the cmake-developers mailing list