/README.md
Markdown | 33 lines | 25 code | 8 blank | 0 comment | 0 complexity | 6d75fceb808a0134a9e3da227bf33d0e MD5 | raw file
- # 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.