Tweaks I Made to the Default .gitignore File

Initially, I left my .gitignore file as the default settings that came with the default Quartz config which excludes the entire .obsidian folder.

.DS_Store
.gitignore
node_modules
public
prof
tsconfig.tsbuildinfo
.obsidian
.quartz-cache
private/
.replit
replit.nix

I added a few changes to be more specific for what to ignore in the .obsidian folder so I could still sync certain things like my hotkeys and core plugin settings, for example.

I still wanted to ignore the plugins, themes, and workspace because I have run into merge conflicts in the past that were annoying to fix (especially with the workspace), and I try to keep my plugins pretty basic anyway so it isn’t worth it to me.

Here’s what I changed:

.DS_Store
.gitignore
node_modules
public
prof
tsconfig.tsbuildinfo
.obsidian/plugins
.obsidian/themes
.obsidian/workspace.json
.obsidian/community-plugins.json
.quartz-cache
private/
.replit
replit.nix