multipush

DESCRIPTION:

This is multipush, a nifty tool to safely back up your source code from multiple Git repos to one or more remotes.

FEATURES/PROBLEMS:

Push multiple Git repos to one or more remotes.

SYNOPSIS:

$ multipush

REQUIREMENTS:

- ruby

INSTALL:

Create a config file multipush.yml in the directory above the directories that contain your source code. E.g. if you like to keep all your Ruby/Rails stuff in a folder called “ruby”, place the multipush.yml in that folder.

- ruby <--- put multipush.yml here
\-- my_rails_project
\-- my_ruby_project
\-- another_git_project

For an example on how to set up the config file, check out the example file multipush.yml in the examples directory.

Make sure your source code hosting has all the right repos set up before you invoke multipush.

So if you have three repos named john, bear and super88, make sure your local and remote are mirrored:

LOCAL:

- john
- bear
- super88

REMOTE:

- john
- bear
- super88

LICENSE:

(The MIT License)

Copyright © 2012 Commander Johnson <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.