@
@
@mgyk2011-05-28 23:40:51
git
@mgyk, 2011-05-28 23:40:51

How to properly organize independent pieces of an application in GIT?

There is a main application and many demons to it. The daemon code does not intersect with the main application and I want to somehow separate it from the main code.
You can't make separate git repositories.
How normal is the solution to create a separate branch for each daemon and containing only its code.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
ignar, 2011-05-29
@ignar

Apart from individual branches, maybe submodules will work for you .

M
Mark, 2011-05-29
@printf

And you get completely unrelated brunches.
Create a folder, this will more accurately reflect the essence of the division.

K
Konstantin, 2011-05-28
@Norraxx

If you can't create a repository, then what other way out, besides a branch, do you have left? When possible, create yourself a repository for daemons and all sorts of utilities that are not dependent on one project, that is, you can use it on different projects.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question