Skip to content

Commit 6dbad61

Browse files
.gitignore: allow .obsidian/types.json
`.obsidian/types.json` defines types of Obsidian properties. If one creates a custom property (the default property type is 'text') and tells it to behave as a 'list', this updates `types.json`. If this file is ignored, those custom properties will revert to default Property Type so Obsidian will throw an error for the YAML properties, as the property type of 'text' would be formatted like a 'list'.
1 parent 5dadad0 commit 6dbad61

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ tsconfig.tsbuildinfo
88
.obsidian/*.json
99
*-content/.obsidian/!snippets
1010
*-content/.obsidian/plugins
11+
*-content/.obsidian/!types.json
1112
*-content/.obsidian/*.json
1213
.quartz-cache
1314
private/

mmw-content/.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Exclude Obsidian's settings and plugins, but include snippets
2+
.obsidian/!snippets
3+
.obsidian/!types.json
4+
.obsidian/*.json
5+
.obsidian/plugins
6+
7+
# Exclude OS settings and caches
8+
.trash/
9+
.DS_Store

0 commit comments

Comments
 (0)