A
A
Apxu2017-07-10 10:52:35
git
Apxu, 2017-07-10 10:52:35

How to make a develop branch on a subdomain the main one?

Good afternoon,
Please tell me how to make the master branch on the main site - the main one, i.e. information from the master branch is displayed, and on the main subdomain, make develop so that information from the develop branch is constantly displayed. Is it possible to set it up this way, and if so, how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2017-07-10
@Apxu

Deploy two different versions of the code (each with its own .git directory and its own branch) and make two virtual hosts looking into those directories.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question