imathis/octopress — pull request #1160 by tylerdavis (2013-03-27 15:19:11+00:00)
Title: Rake task to backup your project to a git repository

There's currently no automated method for backing up your project's source. This change would enable the user to configure a separate remote that can be used to do just that. Two rake tasks handle creating the git remote and adding, committing and pushing to it.

Three new options:
---------------------------
* bk_remote - Your remote backup repo name `git remote add ...`
* bk_repo - Your remote backup repo url
* bk_branch - Your remote backup branch

Two new tasks under the `backup` namespace:
--------------------------------------------------------------------
* config - Creates the remote given the options listed in your Rakefile (bk_remote, bk_repo, bk_branch)

* push - Adds, commits and pushes any changes to your backup repository