As an example, I have a directory with three files a lyx a latex and a bibtex file. Both the lyx and the latex share the bibtex file.
I'd like to share with my friends the directory (if possible everything but the lyx file).
I use overleaf to share latex documents. There I could upload the files directly via git push origin master
. But, overleaf does not support lyx files, so it doesn't allow to push any file.
It would be nice if I could push only part of the directory, but it seems impossible. I thought I could make a branch with only the latex file, but often I have to use all the files at the same time, so it is not convenient this approach. I read that submodule can be an option, but, in that case, the bibtex file should be separated from the two files, I guess.
Do you have any other idea?