N
N
nepster-web2014-07-28 14:30:45
git
nepster-web, 2014-07-28 14:30:45

How to work with different git branches?

I recently started learning and working with git. I am writing a project and as it turned out, it is still growing on a large scale. Now the project already consists of 3 different applications: - business - a separate
business account for certain users
- frontend - the site itself -
backend - admin separate branch backend - separate branch origin - general branch. So I created 3 additional branches. But I don't know what to do next. That is, I would like not to drag all the project files into each of the branches, but to do something like this: the business folder and the business branch for it
frontend folder and frontend branch
for it backend folder and backend branch for it
folder of the entire application and origin branch for it
Now I have 3 empty branches and my common branch origin can you please tell me how to sort it all out?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Entelis, 2014-07-28
@nepster-web

This is absolutely not the right approach.
A backend of a particular version cannot exist without a frontend of the right version.
When they are split into different branches, you get tired of releasing it all.
Read about git-flow habrahabr.ru/post/106912

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question