Answer the question
In order to leave comments, you need to log in
How to properly use 2 git repositories in one project?
There are 2 projects with the same codebase but different HTML templates.
I can't figure out how to properly use 2 git repos to store the codebase and templates separately.
Let's say the project structure is
/www/ <- 1 repo
/www/templates/ <-2 repo (I want)
there is a solution that seems ugly to me
/www/ 1 <- repo
/templates/ 2 <- repo
/www/templates/ -> /templates/ Symlink
But I want something simpler or something :)
Or maybe there is a completely different solution for such a task?
Answer the question
In order to leave comments, you need to log in
git submodules.
habrahabr.ru/post/60860
git-scm.com/book/ru/v1/%D0%98%D0%BD%D1%81%D1%82%D1...
Add a folder to ignore for the first repository, and do anything inside, even the second repository
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question