Ask Your Question

Revision history [back]

How much of the settings directory is appropriate to sync between machines?

I keep all of my dotfiles in a git repo, so when I'm setting up a new machine I can just:

cd ~
git init
git remote add github git@github.com:MatrixManAtYrService/home.git
git pull origin master
git submodule update --init --recursive

...and all of my customizations are present. I want to do the same for wing (more about it here: https://dotfiles.github.io/).

I get the impression that some of the contents of the settings directory would be inappropriate to sync this way. Like, we definitely do want to sync ~/.wingpro7/preferences but probably not license* or recent*

Would you recommend that I write a ~/.wingpro7/.gitignore so that the sync includes everything except for the things I've mentioned? Or should I just sync ~/.wingpro7/preferences and ignore the bulk of that folder?

How much of the settings directory is appropriate to sync between machines?

I keep all of my dotfiles in a git repo, so when I'm setting up a new machine I can just:

cd ~
git init
git remote add github git@github.com:MatrixManAtYrService/home.git
git pull origin master
git submodule update --init --recursive

...and all of my customizations are present. I want to do the same for wing (more about it here: https://dotfiles.github.io/).

I get the impression that some of the contents of the settings directory would be inappropriate to sync this way. Like, we definitely do want to sync ~/.wingpro7/preferences but probably not license* or recent*

Would you recommend that I write a ~/.wingpro7/.gitignore so that the sync includes everything except for the things I've mentioned? Or should I just sync ~/.wingpro7/preferences and ignore the bulk of that folder?