Last active
November 10, 2025 10:58
-
Star
(262)
You must be signed in to star a gist -
Fork
(84)
You must be signed in to fork a gist
-
-
Save kogakure/149016 to your computer and use it in GitHub Desktop.
Git: .gitignore file for LaTeX projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *.acn | |
| *.acr | |
| *.alg | |
| *.aux | |
| *.bak | |
| *.bbl | |
| *.bcf | |
| *.blg | |
| *.brf | |
| *.bst | |
| *.dvi | |
| *.fdb_latexmk | |
| *.fls | |
| *.glg | |
| *.glo | |
| *.gls | |
| *.idx | |
| *.ilg | |
| *.ind | |
| *.ist | |
| *.lof | |
| *.log | |
| *.lol | |
| *.lot | |
| *.maf | |
| *.mtc | |
| *.mtc1 | |
| *.nav | |
| *.nlo | |
| *.nls | |
| *.out | |
| *.pyg | |
| *.run.xml | |
| *.snm | |
| *.synctex.gz | |
| *.tex.backup | |
| *.tex~ | |
| *.thm | |
| *.toc | |
| *.vrb | |
| *.xdy | |
| *.xml | |
| *blx.bib | |
| .bak | |
| .mtc | |
| build/ |
Maybe also .out.ps?
For those who use JetBrains and TeXiFy-IDEA plugin.
Create MyLatexProject/.gitignore and copy/paste this content instead:
/out/.aux
/out/.glo
/out/.idx
/out/.log
/out/.toc
/out/.ist
/out/.acn
/out/.acr
/out/.alg
/out/.bbl
/out/.blg
/out/.dvi
/out/.glg
/out/.gls
/out/.ilg
/out/.ind
/out/.lof
/out/.lot
/out/.maf
/out/.mtc
/out/.mtc1
/out/.out
/out/*.synctex.gz
¡great! Very useful.
¿someone have them classified by use or tool that generates those files?
Thanks in advance.
Can you add *.brf (for backreferences)?
Author
I’ve added most suffixes suggested here to the list and sorted it alphabetical.
for users of VSCode's LateX Workshop plugin with biblatex, it could be useful to add the following:
*.bbl*
*.bcf*
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.bcf
.blg
.sav
For merging artifacts you can also add
.mine
.bak
.r2
.r4