How do I push to Github?

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:

  1. Create a new repository on Github
  2. Run $ git remote -v (This will show you a list of your current remote repositories.)
  3. Add the new remote with $ git remote add github [SSH clone URL] (e.g. ‘git@github.com:example/example.git’)
  4. Check your new remote with $ git remote -v
  5. Run $ git push github to 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.

Looking for something else? Check out our User Guides, Examples, and Technical Docs.