Skip to content

fix: improve Obsidian .gitignore to prevent personal config conflicts#18

Open
mehdipiraee wants to merge 1 commit intoeasel:mainfrom
mehdipiraee:fix/improve-obsidian-gitignore
Open

fix: improve Obsidian .gitignore to prevent personal config conflicts#18
mehdipiraee wants to merge 1 commit intoeasel:mainfrom
mehdipiraee:fix/improve-obsidian-gitignore

Conversation

@mehdipiraee
Copy link

Summary

  • Ignore all personal Obsidian settings (app.json, appearance.json, workspace files)
  • Keep only plugin-related configs (core-plugins.json, community-plugins.json)
  • Remove personal config files from version control to prevent merge conflicts

Problem

The current .obsidian/ configuration tracks personal settings like themes and app preferences, which causes merge conflicts when different team members have different preferences.

Solution

  • Changed .gitignore to ignore all .obsidian/* files except plugin configs
  • Removed app.json and appearance.json from version control
  • Kept core-plugins.json for shared team plugin standards
  • Future community-plugins.json will be tracked for team plugin coordination

Benefits

  • Team members can customize Obsidian themes/settings without conflicts
  • Shared plugin configurations remain consistent across the team
  • Follows standard practices for tool-specific configurations
  • Reduces friction for contributors using Obsidian

Test plan

  • Verified .obsidian/workspace.json is properly ignored
  • Confirmed core-plugins.json remains tracked
  • Personal config files removed from git history
  • New personal settings will be automatically ignored

🤖 Generated with Claude Code

- Ignore all personal Obsidian settings (app.json, appearance.json, workspace files)
- Keep only plugin-related configs (core-plugins.json, community-plugins.json)
- Remove personal config files from version control to prevent merge conflicts
- Allows team members to customize themes/settings without affecting the repository

This follows standard practices for tool-specific configurations where only
shared/team settings should be version controlled.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant