Skip to content

Commit 96628bc

Browse files
fix: gitignore still ignores .obsidian/types.json
Changed order of ignore patterns and placed `!` at the beginning.
1 parent 9793097 commit 96628bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ tsconfig.tsbuildinfo
88
.obsidian/*.json
99
*-content/.obsidian/!snippets
1010
*-content/.obsidian/plugins
11-
*-content/.obsidian/!types.json
1211
*-content/.obsidian/*.json
12+
!*-content/.obsidian/types.json
1313
.quartz-cache
1414
private/
1515
.replit

mmw-content/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Exclude Obsidian's settings and plugins, but include snippets
22
.obsidian/!snippets
3-
.obsidian/!types.json
43
.obsidian/*.json
4+
!.obsidian/types.json
55
.obsidian/plugins
66

77
# Exclude OS settings and caches

0 commit comments

Comments
 (0)