Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How your .gitignore for Latex projects looks like?

Tags:

git

latex

I am wondering what files I should exclude from VSC in LaTeX projects

like image 733
danielleontiev Avatar asked Mar 14 '17 16:03

danielleontiev


People also ask

What is a .gitignore template?

gitignore file is a text file that tells Git which files or folders to ignore in a project. A local . gitignore file is usually placed in the root directory of a project. You can also create a global . gitignore file and any entries in that file will be ignored in all of your Git repositories.

How does .gitignore work?

The . gitignore file tells Git which files to ignore when committing your project to the GitHub repository. gitignore is located in the root directory of your repo. / will ignore directories with the name.

Does .gitignore need to be tracked?

Ignored files are tracked in a special file named . gitignore that is checked in at the root of your repository. There is no explicit git ignore command: instead the . gitignore file must be edited and committed by hand when you have new files that you wish to ignore. .


1 Answers

I've looked into Kile's (LaTeX editor) preferences and found Automatically clean-up files list. I think that it is surely unnecessary files. The List:

.aux .bit .blg .bbl .lof .log .lot .glo .glx .gxg .gxs .idx .ilg .ind .out .url .svn .toc

I think it is enough for .gitignore.

like image 114
danielleontiev Avatar answered Sep 28 '22 08:09

danielleontiev