Skip to content

Commit c715ceb

Browse files
committed
Update list of files that should not be ignored in .gitignore
.gitignore - Create a new section of files that should not be ignored at the end of the file - Explicitly request that docs/figures/*.pdf not be ignored - Explicity request that util/{*.c, *.f, *.f90, *.h, *,m} and u util/Makefile* files should not be ignored - Now ignore __pycache__ folders everywhere Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
1 parent e30928f commit c715ceb

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.gitignore

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
# Keep empty directory for executables, but ignore its contents
88
/bin/*
9-
!/bin/.gitkeep
109

1110
# Ignore temporary files everywhere
1211
**/*.~*
@@ -60,5 +59,14 @@ docs/build/*
6059

6160
# Ignore other files & folders
6261
*.pdf
63-
/examples/mcm*/__pycache__
62+
**/__pycache__
6463

64+
# IMPORTANT: Do not ignore these files!
65+
!/bin/.gitkeep
66+
!/docs/figures/*.pdf
67+
!/util/*.c
68+
!/util/*.f
69+
!/util/*.h
70+
!/util/*.f90
71+
!/util/*.m
72+
!/util/Makefile*

0 commit comments

Comments
 (0)