Sign up ×  I'm about to start version controlling my LaTeX
documents with Git but I haven't used either very much. I would
like to version only the files needed to compile the document
but I use different OS's (OSX, Windows and different distros of
Linux). I did a search for a .gitignore file for LaTeX and came
up with 3 different ones:  Here's a comparison of each in
alphabetical order in tabular format:  *.acn               *.acn
*.acr               *.acr                *.alg
*.alg                *.aux               *.aux
.aux *.bbl               *.bbl               *.bbl *.blg
*.blg               *.blg *.dvi               *.dvi
*.dvi *.glg               *.glg               *.glg *.glo
*.glo               *.glo *.gls               *.gls
*.gls *.idx               *.idx               *.idx *.ilg
*.ilg               *.ilg *.ind               *.ind
*.ind *.ist               *.ist