Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

246
Visualizações
How to properly setup git for multiple projects with shared code base?

I am creating a project where I have 2 repositories that belong to one single project. One of them is the admin part and another one is the main product. Besides, I have shared functionality and assets that are going to be used for both of them. Both admin and product repositories should have their own remote counterpart and both of them should be able to reuse the shared functionality, but none of them should be aware of the other project.

Here is my folder structure

.
├── admin
│   ├── public
│   └── src
├── roulette
│   ├── public
│   └── src
└── shared
    ├── assets
    └── components

My goal is to make sure admin and roulette have their own separate remote repositories with the ability to get access to a shared folder.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Maybe you can use git submodule to solve this problem.

Make shared as a submodule of other projects, so that they can synchronize recent updates of shared.

You can find more details in here. Hope this will help you~~

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda