https://github.com/mizzy/gitpusher
A command line tool for replicating git repositories from one service to another
https://github.com/mizzy/gitpusher
Last synced: about 1 year ago
JSON representation
A command line tool for replicating git repositories from one service to another
- Host: GitHub
- URL: https://github.com/mizzy/gitpusher
- Owner: mizzy
- Created: 2012-04-17T02:08:50.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2013-01-29T18:09:15.000Z (over 13 years ago)
- Last Synced: 2025-03-26T09:44:50.560Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 210 KB
- Stars: 26
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitpusher
gitpusher is a command line tool for replicating git repositories from one service to another.
```
$ gitpusher -c default.yml
```
default.yml is like this.
```
:base_dir: /var/repos
:src:
:type: github
:dest:
:type: bitbucket
```
With this settings, all of your repositories on GitHub will be replicated to Bitbucket.
(User name and password of each service are asked when you run the command first.)
If you would like to replicate GitHub organization's repos instead of your own repos, settings are like this.
```
:base_dir: /var/repos
:src:
:type: github
:organization: github_organization_name
:dest:
:type: bitbucket
```
Now this tool supports only replicating from GitHub to Bitbucket.
## Parallel processing
You will spend a lot of time when you have many repositories.
Now, to save your time, gitpusher supports parallel processing.
You can specify the number of processes by `--process`, or `-p`, option.
If you do:
```
$ gitpusher -c default.yml --process 6
```
then 6 repositories are processed at a time.