D
D
donflash2014-07-24 11:50:08
git
donflash, 2014-07-24 11:50:08

How to organize work, with two git reps with different file structures?

We have a project with the following structure on dev:

htdocs/
private/lib/

production:
lib/
docs/

I.e:
htdocs/ -> docs/
private/lib/ -> lib/

How to set up the work of git push, git pull, taking into account the different file structure of the project?
What about more complex cases?
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Entelis, 2014-07-24
@DmitriyEntelis

Normal - nothing.
Moreover, I don’t really understand why you have 2 repositories on dev and prod, and even with a different file structure. I strongly recommend bringing everything to uniformity, it is much simpler and more correct.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question