Skip to content

Instantly share code, notes, and snippets.

@mstrehler
Created February 29, 2016 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mstrehler/aaa6e27a9d481c2a4447 to your computer and use it in GitHub Desktop.
Save mstrehler/aaa6e27a9d481c2a4447 to your computer and use it in GitHub Desktop.
A .gitignore_global file for LaTeX projects with MacOS
# .gitignore_global for LaTeX projects with MacOS
# v1.0
#
# To add run in terminal
# git config --global core.excludesfile ~/.gitignore_global
#
# Thanks to:
# https://gist.github.com/rbochet/871983
# https://gist.github.com/octocat/9257657
#
# Latex files
*.acn
*.acr
*.alg
*.aux
*.bbl
*.blg
*.dvi
*.glg
*.glo
*.gls
*.idx
*.ilg
*.ind
*.ist
*.lof
*.log
*.lot
*.maf
*.mp
*.mtc
*.mtc1
*.nav
*.out
*.snm
*.synctex.gz
*.tmp
*.toc
*.top
*.tui
# Mac IDE files
*.swp
*~
*(Autosaved).rtfd/
Backup[ ]of[ ]*.pages/
Backup[ ]of[ ]*.key/
Backup[ ]of[ ]*.numbers/
# Mac finder files and hidden folders
.DS_Store
# Packages
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Misc
*.backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment