If you’d like to open source all or part of a project in a private BowTie repo, you can add Github as an additional remote using git’s native multi-remote capability. To set up GitHub as a new remote from the command line, follow these steps:
- Create a new repository on Github
$ git remote -v(This will show you a list of your current remote repositories.)
- Add the new remote with
$ git remote add github [SSH clone URL](e.g. ‘firstname.lastname@example.org:example/example.git’)
- Check your new remote with
$ git remote -v
$ git push githubto push changes to Github.
For more details about using git remotes, see the git guide on the feature.
Learn more about configuring your BowTie project repo.
To get started with BowTie, register for a free trial.