OSUCowboy
OSUCowboy

Reputation: 57

How to let github automatically track changes of an overleaf project?

I'm wondering if it is possible to let github automatically track changes when I make changes to an overleaf project.

Upvotes: 1

Views: 777

Answers (1)

VonC
VonC

Reputation: 1324757

Following the Overleaf documentation, you might consider adding an Overleaf Project as a Git Submodule

Each project on Overleaf gets its own git repo, but if you want to organise several such projects into one git repo on GitHub, you can add the repo for each project as a git submodule in the usual way.
You can then push and pull each submodule repository to/from Overleaf individually and still have them collected together as submodules in the project on GitHub.

Then a git submodule update --remote would automatically update your local repo with the latest from that submmodule.

Upvotes: 1

Related Questions