Git (any SCM) and compilation of object files, commuting branches, their physiology

If I compile branch A, switch to branch B, compile and go to branch A.

All object files affected by compilation of branch B must be recompiled!

Usually, object files are not logged, but there is little choice.

What are the ideal working methods here?

+3
source share
1 answer

Only object files need to be rebuilt, the dependencies of which differ between the two branches.

When switching branches, git does not apply to files that do not differ between the two branches.

, , . , .

, , .

, , , . , .

+4

Source: https://habr.com/ru/post/1743131/


All Articles