I have a GIT repository initially containing JUCE 4.2.3. I’ve made a lot of changes to JUCE code.
(my repository is not connected to the official JUCE repository).
I want to update JUCE to the latest version, but i don’t want to loose my changes. What is the best way to deal with it it now and for future updates?
A decent three-way merge tool may help, but the best solution is (wherever possible) to modify JUCE in such a way that it’s easier to update, using derived classes in your own custom modules for example.
The other technique is to share your modifications to the community when possible.
Some people can be interested in your changes and can eventually enhance them.
Or help you find a better approach.
I do not know which the best way to do that for Juce now: forum’s talk or git pull request ?
Thx everybody for your help. Looks like rebase operation is much better option, since the number of my changed files is not very big and most of the merge conflicts are resolved automatically. Contrary, a merge operation produces a HUGE number of the unresolved conflicts.
One more question: is it necessary to resolve all conflicts at the time? For example, it would be nice if i could resolve some conflicted files, then stop work and continue work on the next day. As it looks i have to do it all one piece and then do commit - am i missing something ?!? Talking about re-basing.