I have a git repo which has many folders and I have separate subdomains for them.
For example I have:
repo
├── folder1
├── folder2
└── folder3
Now folder1
, folder2
and folder3
are subfolders but I have separate subdomains for them like.
Content inside folder1
will need to go to folder1.domain.com
and same is the case with other folders.
Is there anyway in git I can clone these subfolders in their subdomains and then able to pull whenever I change anything in actual repo.
Note: I want this on server.