Backup to local .ignore /content


i’am new kirby user.

it’s right only the /content folder save the page content
the other folders can i add to my .git repository?

greetings perry

Yes, the content folder is the only folder that can contain user generated content.

texnixe thank you for answering,
and ‘site/accounts’ can also be ignored?

The information in site/accounts should not go into a public repo, cause it contains sensible data.

You may also want to check out the docs on custom folder setup:

You can also use the Kirby Starterkit .gitignore as a baseline.