I use a common Settings repo for multiple other repos, which contains several tex files.
If I include this repo (as a submodule) in one of my project repos and try to compile it with sharelatex, the compilation fails due to missing files (the files from that setings repo).
What is the status of this? It has now been over 1.5 years and the sync feature is kind of useless when you have standardised files as part of a submodule.
Personally, missing this feature was a deal breaker for me, so I stopped using sharelatex (long ago).
Are there any plans to support git submodules in overleaf? A lot of latex projects reuse bib files across repositories with the help of submodules.
This would be a hugely important feature for me. I have a bunch of related documents that I would like to share some common styling files. I use GitHub sync and added the common files as a submodule locally on my PC only to realise there is no way to call git submodule update --init from within Overleaf.
The .gitmodules file appears in Overleaf, so perhaps Overleaf could provide an Initialise button (git submodule update --init) and an Update button (git submodule update) somewhere, perhaps under Menu>Sync>Git, if such a file is present.
If just those two options were available I could manage all other aspects of the submodules locally on my PC.
I use the git submodule to store BibTeX files for reusing. But after I paid for the subscription, I found it does not support submodules at all.
Most helpful comment
This would be a hugely important feature for me. I have a bunch of related documents that I would like to share some common styling files. I use GitHub sync and added the common files as a submodule locally on my PC only to realise there is no way to call
git submodule update --initfrom within Overleaf.The
.gitmodulesfile appears in Overleaf, so perhaps Overleaf could provide an Initialise button (git submodule update --init) and an Update button (git submodule update) somewhere, perhaps under Menu>Sync>Git, if such a file is present.If just those two options were available I could manage all other aspects of the submodules locally on my PC.