Tower Icon

Publishing a local repository on a remote server

To be able to share your work with others, you must publish your local repository on a remote server.

Step 1: Add local repository to Tower

First, you need to make sure that you have already added the respective local repository to Tower (see Adding a repository for more information).

Step 2: Create remote repository on remote server

  • If you have your code hosted by a service provider (like GitHub or Beanstalk), log in to your hosting service and create a new repository. After you have created the remote repository, copy its URL to your clipboard.

  • If your code is hosted on your own / your company's server, request the repository's URL from your systems administrator. For detailed instructions on how to set up a private remote server for hosting your repository, please see the free eBook "ProGit" by Scott Chacon.

Step 3: Add remote repository in Tower

With the local repository open in Tower, add the newly created remote repository as a reference in Tower. See "Adding a remote repository" for more information.

Step 4: Publish a local branch

Drag the local branch you want to publish onto the remote repository item in the sidebar. See "Publishing a local branch on a remote repository" for more options.

Once you have published one or more of your local branches on the new remote, you can collaborate with others and push/pull/fetch remote data.


Related Topics

Adding a repository

Adding a remote repository

Publishing a local branch on a remote repository

Removing a repository

Relocating a moved repository