J
J
Junior_WEB2020-08-22 23:32:59
git
Junior_WEB, 2020-08-22 23:32:59

Created a repository on github. How to have several folders in one repository and each folder has its own project?

Good afternoon Colleagues.

Please tell me how to implement this:
Now a clean repository has been created on the github. How to create in the repository, for example, the folder task_1 and task_2 , etc.
So that after there was an opportunity to launch the project into a folder. That is, each folder has its own task.

Now, what I can do is as soon as I create a new repository and upload the project to it. After a new task, create a new repository and upload the project. This doesn't look very good. I would like to create folders in the repository if necessary and upload projects to them.

Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Morev, 2020-08-23
@Junior_WEB

This happens when a person starts using GIT who does not understand why he really needs it.
That's the point, so that each project has its own repository, otherwise why do you need git? Create a folder on dropbox and upload it there.

V
Vladimir Druzhaev, 2020-08-23
@OtshelnikFm

There are branches - one project, but different tasks for it - different branches
And different projects = different projects

R
RR_Zz, 2020-08-23
@RR_Zz

I'll offer you my crutch.
1) Set up a repository that will be your main one.
2) You start other repositories for each project.
3) In the main repository through a submodule, you connect subprojects.
4)???
5)PROFIT!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question