Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eleanor-clifford/ols-git-tools
I don't want to use Overleaf
https://github.com/eleanor-clifford/ols-git-tools
overleaf-sync
Last synced: 3 days ago
JSON representation
I don't want to use Overleaf
- Host: GitHub
- URL: https://github.com/eleanor-clifford/ols-git-tools
- Owner: eleanor-clifford
- License: agpl-3.0
- Created: 2021-02-21T13:08:06.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T00:35:54.000Z (almost 3 years ago)
- Last Synced: 2024-11-08T23:23:57.908Z (about 2 months ago)
- Topics: overleaf-sync
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
| :exclamation: | This is a mirror of [https://git.sr.ht/~tim-clifford/ols-git-tools](https://git.sr.ht/~tim-clifford/ols-git-tools). Please refrain from using GitHub's issue and PR system. |
|----------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------|# Overleaf Git Tools
Provides integration with git for syncing overleaf projects with
[overleaf-sync](https://github.com/moritzgloeckl/overleaf-sync).Don't get any ideas, I don't like Overleaf at all. This just makes it easier to
collaborate with wysiwig people.There are a lot of possible edge cases so it's possible I've missed one of
them. Please open an issue if anything isn't working as expected.To set up the integration, first install
[overleaf-sync](https://github.com/moritzgloeckl/overleaf-sync) and log in with
```
ols login [-u/--username -p/--pasword --path]
```
note that ols requires that the name of your folder is the same as the name of
the project on overleaf.Then add this repo as a submodule and setup the git tools by running the
following from any Linux/MacOS terminal, or Git Bash on Windows
```
git submodule update --init
./ols-git-tools/setup.sh
```You can now use `git sync` to merge the overleaf changes into git. Note that
the automatic merge may not achieve your goals (it forces a conflict) but you
can manually compare the changes with `git diff HEAD~`Also note (from the
[overleaf-sync](https://github.com/moritzgloeckl/overleaf-sync) docs):> When modifying a file on Overleaf and immediately syncing afterwards, the
> tool might not detect the changes. Please allow 1-2 minutes after modifying a
> file on Overleaf before syncing it to your local computer.