-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitignore
72 lines (69 loc) · 1.4 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -------------------------------------
# 1) Ignore everything by default
*
# -------------------------------------
# 2) Explicitly ignore common unwanted folders
.idea/
.pytest_cache/
dist/
zacrostools.egg-info/
# macOS hidden file
.DS_Store
# -------------------------------------
# 3) Allow versioning of this .gitignore
!.gitignore
# -------------------------------------
# 4) Unignore the specific top-level files
!CHANGELOG.md
!LICENSE
!README.md
!requirements.txt
!setup.cfg
!setup.py
!.readthedocs.yaml
# -------------------------------------
# 5) Unignore these directories so Git can see inside them
!docs/
!examples/
!tests/
!zacrostools/
# -------------------------------------
# 6) Re-ignore everything inside those directories
docs/*
examples/*
tests/*
zacrostools/*
# -------------------------------------
# 7) Re-unignore the file types to track
!docs/**/*.py
!docs/**/*.txt
!docs/**/*.dat
!docs/**/*.md
!docs/**/*.png
!docs/**/*.pdf
!docs/**/*.csv
!docs/**/*.yml
!examples/**/*.py
!examples/**/*.txt
!examples/**/*.dat
!examples/**/*.md
!examples/**/*.png
!examples/**/*.pdf
!examples/**/*.csv
!examples/**/*.yml
!tests/**/*.py
!tests/**/*.txt
!tests/**/*.dat
!tests/**/*.md
!tests/**/*.png
!tests/**/*.pdf
!tests/**/*.csv
!tests/**/*.yml
!zacrostools/**/*.py
!zacrostools/**/*.txt
!zacrostools/**/*.dat
!zacrostools/**/*.md
!zacrostools/**/*.png
!zacrostools/**/*.pdf
!zacrostools/**/*.csv
!zacrostools/**/*.yml