PageRenderTime 56ms CodeModel.GetById 32ms RepoModel.GetById 0ms app.codeStats 0ms

/README.md

https://bitbucket.org/KitaitiMakoto/gitpusher
Markdown | 33 lines | 25 code | 8 blank | 0 comment | 0 complexity | 6d75fceb808a0134a9e3da227bf33d0e MD5 | raw file
  1. # gitpusher
  2. gitpusher is a command line tool for replicating git repositories from one service to another.
  3. ```
  4. $ gitpusher -c default.yml
  5. ```
  6. default.yml is like this.
  7. ```
  8. :base_dir: /var/repos
  9. :src:
  10. :type: github
  11. :dest:
  12. :type: bitbucket
  13. ```
  14. With this settings, all of your repositories on GitHub will be replicated to Bitbucket.
  15. (User name and password of each service are asked when you run the command first.)
  16. If you would like to replicate GitHub organization's repos instead of your own repos, settings are like this.
  17. ```
  18. :base_dir: /var/repos
  19. :src:
  20. :type: github
  21. :organization: github_organization_name
  22. :dest:
  23. :type: bitbucket
  24. ```
  25. Now this tool supports only replicating from GitHub to Bitbucket.