Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

241
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!