Find the repository you want to use under src/
directory and enter below command:
helm repo add main https://charts.kubesphere.io/main
Just place your charts under the repo, e.g.
src/
├── main/
│ └── example-chart/
│ ├── Chart.yaml
│ ├── values.yaml
│ ├── templates/
│ └── ...
Just create a directory under src/
for the new repo, and place your charts under it, e.g.
src/
├── main/
│ └── ...
├── example-repo/
│ └── example-chart/
│ ├── Chart.yaml
│ ├── values.yaml
│ ├── templates/
│ └── ...