Git for Application Settings

Posted by devians on Super User See other posts from Super User or by devians
Published on 2010-12-14T05:53:29Z Indexed on 2011/01/08 11:55 UTC
Read the original article Hit count: 277

Filed under:
|
|

I use a lot of tools at work and at home, and im constantly tweaking them in one location or the other. It's somewhat common practice for people to use Git to version their .vim, .vimrc, and other . files, since you can host your config files on github and have the share-ability and all the other advantages that implies. Being able to version and branch my configs sounds like a grand idea, since I'm always messing about with them.

I'd like to discuss the best practice for doing this on a slightly wider scope. How would you implement it?

  • Have your configfiles repo in ~/Library/Configs or similar, and symlink the appropriate files?
  • How to handle preference files for Applications, ie iTerm2.
    • These files are recreated every time, so you'd have to symlink 'backwards' and put a link in the repo? rather than symlinking to the repo, since it would just delete the symlink.

© Super User or respective owner

Related posts about osx

Related posts about settings