Generate a Brewfile and back it up to git.
Clone and add the brew-backup
file to your $PATH
(e.g. symlink).
Create a .brew-backup
file in your home directory with the following options:
[email protected]:example/example.git # Git repo to back up your Brewfile to
Simply run brew-backup
to generate a fresh Brewfile and push it to the git repo.
Probably most useful run on a cron or launchd schedule.
Usage: brew-backup [options...]
-h, --help Show this help info
Configuration: Create a .brew-backup file in your home directory with the following options:
[email protected]:example/example.git # Git repo to back up your Brewfile to
Originally developed by Adam Westbrook
Source, issues and questions available on Github
Please feel free to contribute, comments, fixes and improvements using the issue tracker linked above.