Automatically add a .gitignore when cloning the project
By default we don't add any gitignore when cloning an overleaf project. As a result, on first push we get some warning about the repo being not clean:
git slatex push
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
main.aux
main.bbl
main.blg
main.fdb_latexmk
main.fls
main.log
main.pdf
main.synctex.gz
nothing added to commit but untracked files present (use "git add" to track)
---
The repo isn't clean. There mustn't be any untracked/uncommited files here.
I propose to add a decent .gitignore
to get rid of this message