generated from caltechlibrary/py-cli-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitignore
47 lines (41 loc) · 2.04 KB
/
.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Summary: rules for files and subdirectories to be ignored by git.
#
# Copyright 2024 California Institute of Technology.
# License: Modified BSD 3-clause – see file "LICENSE" in the project website.
# Website: https://github.com/caltechlibrary/iga
#
# ╭─────────────────────── Notice ── Notice ── Notice ────────────────────────╮
# │ The recommended approach is to add ONLY project-specific rules to the │
# │ .gitignore of a repo. Users can put rules that apply to their individual │
# │ ways of doing things into global git ignore files that they set up using │
# │ (e.g.) "git config --global core.excludesfile ~/.gitignore_global". For │
# │ example, a number of files such as Emacs checkpoint and backup files are │
# │ things that are not specific to a given project; rather, Emacs creates │
# │ them everywhere, in all projects, because they're a byproduct of how it │
# │ works. Thus, rules to ignore them belong in users' own global .gitignore │
# │ files, not in a project's .gitignore. │
# │ │
# │ A useful starting point for global .gitignore file contents can be found │
# │ at https://github.com/github/gitignore/tree/main/Global (as of 2022-07-14)│
# ╰───────────────────────────────────────────────────────────────────────────╯
# Ignore backup files created by our Makefile ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*.bak
# Python-specific things to ignore ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
.eggs/
.pytest_cache
.coverage
tests/*.log
# Project-specific things to ignore ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build
dist
docs/_build
e.sh
iga/tmp
*.tmp
*.log
fake.txt
debug.out