Syncing thunderbird configuration via git

I have all my configurations in git, which helps me to sync my entire environment among multiple machines. I’d like to do the same with Mozilla Thunderbird configuration. The problem is that there is a lot of data in it’s config folder and I doubt that everything is needed (there is IMAP cache, etc.).

My config folder looks like this:

  • How do I make git-svn use a particular svn branch as the remote repository?
  • How to distribute files in a Python sdist that are not VCS tracked?
  • How to make a patch for one tag with Git?
  • Local branches show-up on GitHub's “Network” view
  • git hook for legit commit message (#123 good message)
  • Why use `git commit` when in a detached state?
  • times.json
    ..
    secmod.db
    mailViews.dat
    blist.sqlite
    ImapMail
    signons.sqlite
    abook.mab
    Mail
    search.json
    search-metadata.json
    google_tasks_sync
    formhistory.sqlite
    mimeTypes.rdf
    simple_storage.sqlite
    webappsstore.sqlite
    extensions
    extensions.sqlite
    extensions.ini
    storage.sdb
    compatibility.ini
    content-prefs.sqlite
    places.sqlite
    pluginreg.dat
    history.mab
    addons.sqlite
    blocklist.xml
    calendar-data
    downloads.sqlite
    .parentlock
    permissions.sqlite
    localstore.rdf
    session.json
    folderTree.json
    global-messages-db.sqlite
    cookies.sqlite
    key3.db
    cert8.db
    virtualFolders.dat
    panacea.dat
    prefs.js
    .
    

    Which of this files should I include in my git repo (e.g. how should my .gitignore look like)? Is there any better way of doing this?

  • git jenkins and production builds methodology
  • How can I remove the history of one file in git, leaving only the most recent version?
  • composer minimum stabilit conflict
  • Specifying ssh key for jgit
  • Visual Studio 2013 uses wrong Clone url
  • Version numbering / release mechanics with Maven and GitHub
  • Git Baby is a git and github fan, let's start git clone.