Last active
November 19, 2024 13:22
-
-
Save kogakure/149016 to your computer and use it in GitHub Desktop.
Git: .gitignore file for LaTeX projects
This file contains 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/ |
.bcf
.blg
.sav
For merging artifacts you can also add
.mine
.bak
.r2
.r4
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)?
I’ve added most suffixes suggested here to the list and sorted it alphabetical.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TexStudio has the following extensions list in tools -> clean
log,aux,dvi,lof,lot,bit,idx,glo,bbl,bcf,ilg,toc,ind,out,blg,fdb_latexmk,fls