Maxence-L / notenote.link

A Jekyll digital garden template, optimized for integration with Obsidian. It aims to enhance discoverability and help you build a personal knowledge base that can scale with time.
https://notenote.link
MIT License
161 stars 90 forks source link

Remove DSStore files #1

Closed MichaelCurrin closed 3 years ago

MichaelCurrin commented 3 years ago

These are specific to a machine and a temporary.

I recommend deleting all .DS_Store files and adding .DS_Store to .gitignore

Maxence-L commented 3 years ago

Done, thank you very much for pointing this !

fmoledina commented 3 years ago

@Maxence-L Also ensure to add **/.DS_Store in .gitignore as well, in order to ignore .DS_Store files in subfolders. There still is one in the _notes folder at the moment.

MichaelCurrin commented 3 years ago

Git ignore file supports nesting already

This is sufficient to cover at the root and all levels down.

.DS_STORE

The thing is that if a file is already in source control, adding to ignore rules won't delete it. So the owner just needs to delete the file from the repo and then the ignore rule will ensure they don't get added back

fmoledina commented 3 years ago

Ah, thanks. That makes sense.

Maxence-L commented 3 years ago

I cleaned the DS_Store files. Thanks for your advice !