Skip to content

MrJoy/git_plist

Repository files navigation

GitPlist

A git diff-filter for OS X *.plist files. Handy for using git with ~/Library/Preferences.

(Note: I don't recommend this as a strategy for versioning your machine configuration, but being able to see changes here can be useful for discovering what keys to use with the defaults command...)

Installation

sudo gem install git_plist

git config --global filter.plist.clean git-plist-clean
git config --global filter.plist.smudge git-plist-smudge

Usage

In a git repository:

echo '*.plist filter=plist' >> .gitattributes
git add .gitattributes
git commit -m "Enable git-plist filter on *.plist."

Development

See [[DEVELOPMENT.md]] for details.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/MrJoy/git_plist.

Before submitting pull requests, I would appreciate it greatly if you run rake lint:rubocop, and try to ensure your code adheres to the style configuration. PRs will not be rejected for lack of this, but not doing this creates more work for me which makes it harder for me to accept contributions.

License

The gem is available as open source under the terms of the MIT License.

About

A git diff-filter for OS X `*.plist` files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published