From fbff6873de39d41f65c7fd0923926519fb9c3767 Mon Sep 17 00:00:00 2001 From: Jonathan Berrisch Date: Sun, 11 May 2025 14:45:54 +0200 Subject: [PATCH] Init .gitignore --- .gitignore | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6ab6805 --- /dev/null +++ b/.gitignore @@ -0,0 +1,84 @@ +# This file contains patterns for ignoring files / folders in a git repository. +# If a specific file is catched by the .gitignore file, but you need to add it +# you can use the following command to do so: +# git add -f path/to/file/i/want/to/track.txt +# However, think about the necessity of tracking the file before doing so. + +### Blacklist folders: + +data/* +.bin/* +.direnv/* +.venv/* + +### Blacklist files: + +# Secrets +*secrets* + +# Latex related +*.aux +*.glo +*.idx +*.log +*.toc +*.ist +*.acn +*.acr +*.alg +*.bbl +*.blg +*.dvi +*.glg +*.gls +*.ilg +*.ind +*.lof +*.lot +*.maf +*.mtc +*.mtc1 +*.out +*.synctex.gz +*.bcf +*.xml +*.bst +*.fdb_latexmk +*.fls +*.snm +*.nav + +# R Related +*.Rhistory +*.RDataTmp +*.RData + +# Python binaries +*.pyc +*.npy +*.pt +*.py.ipynb + +# Potentially large but not binary +*.svg + +# Binary files +*.pdf +*.jpg +*.png +*.zip +*.gz +*.tar +*.kmz +# Matches Rds, RDS, rds, etc. +*.[rR][dD][sS] + +# Misc +.~lock.* + +# Data +*.csv +*.xlsx + +# Whitelist selected files +!data/example_witelisted.csv