T
T
TheRevan2018-02-21 11:25:08
git
TheRevan, 2018-02-21 11:25:08

How to organize the development of a website using github?

There are 2 domains - mysite.info and mysite.biz. On biz I constantly throw in the layout, on info we pull it. How can I implement permanent work with projects through github so that there are no problems with versions for each of the users (backend is usually wp or laravel)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mcavalon, 2018-02-21
@mcavalon

About 2 years ago I practiced the following:
In the repository I had 2 branches: master and html.
master - WP
html - layout
In the master branch, I set up a submodule from the html branch to the theme folder, it looks like this take.ms/LpfHC
When pooling from master, the submodule is also updated (pulls all changes from the html branch)
Here is my bash script - take.ms/ rb8xC

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question