Skip to content

Commit a401117

Browse files
authored
Merge pull request #4599 from JumpIn-Git/main
optimize and more readable obsidian extended gitignore
2 parents 76e40b7 + aa95d6b commit a401117

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

community/Obsidian/NotesAndExtendedConfiguration.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030
# contain metadata (manifest.json), application code (main.js), stylesheets
3131
# (styles.css), and user-configuration data (data.json).
3232
# We only want to track data.json, so we:
33-
# 1. exclude everything under the plugins directory recursively,
34-
# 2. unignore the plugin directories themselves, which then allows us to
35-
# 3. unignore the data.json files
36-
.obsidian/plugins/**/*
37-
!.obsidian/plugins/*/
33+
# 1. exclude everything that the plugin folders contain,
34+
# 2. unignore data.json in the plugin folders
35+
.obsidian/plugins/*/**
3836
!.obsidian/plugins/*/data.json

0 commit comments

Comments
 (0)