V
V
Victor Incognito2021-05-01 16:22:15
git
Victor Incognito, 2021-05-01 16:22:15

How to use git + gitea to work with a project from self-contained sub-projects?

Good day.

I use : git, gitea (no internet), vscode.

I have the following project structure:

Project Structure
2lbeHWQE.png
Зеленый прямоугольник - файл входит в состав большого проекта и в состав подпроекта.
Желтый прямоугольник - файл входит только в состав подпроекта.


Is it possible with the help of the programs I use to implement the project scheme I have given? Each subproject is developed by one developer, the subproject includes files that are not needed for the main project.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Moderator, 2021-05-01
@TosterModerator

Better do it like this

- Common
    |-- file1
    |-- file2
    |-- fileX
-Project1
    |-- file1
    |-- file2
    |-- fileX
-Project2
    |-- file1
    |-- file2
    |-- fileX

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question