Structure of git separate git repositories for components / apps

Hi all,

I’m just wondering if there are some best practices to arange the source git repositories for legato projects with VSCode.
We want to have dedicated repositories for specific apps (including multiple components). The default structure in VSCode has and ./app and ./component directory. If I follow this structure I can just have one big repository which I dont really like.

I would be happy to know how you do that.

Thanks

I did not put the component folder inside ./component directory.
I put in the same folder in the application inside ./app.
(just like the way in Developer studio)

hi,
I am creating a folder inside the componet with some c files and some outside the folder, i need to access the header file which is present outside the folder
Atructure will be like this
Component 1
Commom Logic - Folder
File1.c
Outside file.h

I cant access outside folder.h file inside File1.c can any samples available how to use this

You can include header file folder with -I in cflag inside .cdef file