merge - Tell git to always ignore some file/folders when merging -
suppose project has following folders:
coresrc
and have branches: master , testbranch
src in master , src in testbranch contains different content.
i want tell git not merge src folder when merging master , testbranch.
in other words, want merge core folder between branches.
also, want git track src folder individual branches usual files.
is there possible solutions?
as per experience it's not possible using single repository. can use git sub-module main branch. src folder git submodule. , project folder main repository contain core src folder git submodule. ( or vice-versa )
Comments
Post a Comment