Skip to content

Example gitignore file

Doug edited this page Oct 8, 2020 · 1 revision

The InVEST repository does not currently track a .gitignore file so it is important that the developer has an individual one setup to avoid committing and pushing unwanted files. Below is an example of a basic .gitignore file that would be useful when developing for InVEST. More help with gitignore can be found here in this gitignore tutorial

# Ignore the gitignore file!
.gitignore

# Ignore all files with specific extensions
*.gpkg
*.orig
*.cpp
*.eggs

# Ignore the python cache directories
__pycache__

# Ignore all files in any directory named dist or build
dist/
build/