Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

243
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda