Jump to content

Best practice to sync config through github


Recommended Posts

I sync all my config files (mostly dotfiles) through a github repo. Is there anything in particular that I need to take in count before I sync the ".alfredpreferences" file/folder with github? Here are some concerns:

 

- The ".alfredpreferences" folder is big. I think it's the workflows or images.

- I saw some folders are called "local", should I exclude them? Is there any other folders that can be gitignored?

- I saw some GUID-like strings and file names. Are they gonna cause conflicts?

- github repos are public, any security concerns?

- Should I do it after all?

Link to comment

I sync all my config files (mostly dotfiles) through a github repo. Is there anything in particular that I need to take in count before I sync the ".alfredpreferences" file/folder with github? Here are some concerns:

 

- The ".alfredpreferences" folder is big. I think it's the workflows or images.

- I saw some folders are called "local", should I exclude them? Is there any other folders that can be gitignored?

- I saw some GUID-like strings and file names. Are they gonna cause conflicts?

- github repos are public, any security concerns?

- Should I do it after all?

 

I wouldn't recommend using git for syncing the Alfred.alfredpreferences as Alfred (and workflows) use / modify this quite a bit and you may find keeping it in sync and conflict free being a huge pain.

 

I'm not sure if you spotted this, but Alfred can dynamically sync your preferences if you have a syncing service such as Dropbox:

 

https://www.alfredapp.com/help/advanced/sync/

 

Cheers,

Andrew

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...