Open simonhaenisch opened 3 years ago
Hi @simonhaenisch, I was looking at this recently.
I've making some tests, and I believe it might be possible to add config to allow listing submodules, and maybe just changing the icon.
I look deeper into it this weekend and let you know
Ok thanks, however I ended up not cloning our mono-repo at all anymore, also for other reasons. Still might be useful though, I guess.
At my new workplace there's a mono-repo that's just a bunch of git submodules, so it's easier to clone all the relevant repos all at once (
git submodule foreach "git checkout master && git pull origin master"
).When using the "GPM: Open Git Project" action, it only lists the top level git project but doesn't allow me to jump directly into the submodules. I've tried enabling
searchInsideProjects
and deleting.gitmodules
but that didn't help.Workaround for now will be that I'll delete the top level repo now that I've cloned all the repos, but would be useful if GPM would have a toggle so that submodules are also listed as projects (it appears to filter them out at the moment).
Edit: whoops turned out deleting the parent git repo wasn't a good idea because I wasn't aware that the submodules don't have their own
.git
folders (just a reference to the parent) 🙈 now I've had to re-clone the needed repos again.