0.0
No commit activity in last 3 years
No release in over 3 years
The bridge between public GitHub (github.com) and private GitHub (GitHub Enterprise, github.mycompany.com).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

github-bridge

The bridge between public GitHub (github.com) and private GitHub (GitHub Enterprise, github.mycompany.com).

Features

  • Fork a repopsitory on github.com, clone it to local, then create it on GitHub Enterprise. All remote repositories are set properly.

Installation

  • Install
  $ gem install github_api parseconfig github-bridge
  • Configure You need a configuration file to store your credentials to access private and public githubs.
  $ mkdir ~/.github; chmod 700 ~/.github
  $ touch ~/.github/bridge.conf; chmod 600 ~/.github/bridge.conf
  $ vi ~/.github/bridge.conf

The configuration file looks like:

[github]
login = 'your username on github.com'
password = 'your password on github.com'

[enterprise]
host = 'hostname of your company's github enterprise, e.g. github.your.company.com'
name = 'your company name'
login = 'your username on github enterprise'
password = 'your password on github enterprise'

[local]
path = 'path to your local repositories, .e.g. ~/git/'

Usage

    $ ghb -h

Contribution

Bug reports and pull requests welcome!