Is there a problem with adding .ghostpid and content/data/ghost-local.db to .gitignore file for ghost theme development

I am seeing changes on these files:

which i ignore during my theme development phase so im thinking i should add them to my global gitignore file.

Any recommendations?

What is usually suggested is to have just the theme (not the installation) as your git repository. If you really want to have your installation folder as part of your git repo, yes, you should ignore those two files - .ghostpid is used by the cli to stop Ghost when you don’t have a process manger, and content/data/ghost-local.db is your database

1 Like