Managing Cloud Source Repositories

This document describes how to manage Cloud Source Repositories from within Visual Studio.

Before you begin

Access Cloud Source Repositories

To access Cloud Source Repositories, select Team> Manage Connections.

Display of the Team Explorer window with the list of available
repositories

A list of your repositories displays in the Team Explorer.

For first-time users, this list will be empty until you clone a repository.

Create or clone a repository

In Team Explorer, you can click the Clone or Createlink to open the Clone Google Cloud Source repositorydialog and create a new repository or clone an existing one to your local machine.

Dialog box with a field for selecting a project and a repository. An Add
new button allows you to create a new repository. The dialog also provides a
field for entering a path to clone the source code to. A Browse button allows
you to open a file explorer window to navigate to the clone location instead.

To create a new repository:

  1. Click the Clone or Createlink.

  2. Select a Google Cloud project in the Projectdrop-down menu.

  3. Click Add new.

    The Add a new repositorydialog displays.

  4. Enter a Repository Name.

  5. Click OK.

To clone an existing repository:

  1. Click the Clone or Createlink.

  2. Select a Google Cloud project in the Projectdrop-down menu.

  3. Select a repository in the Repositorydrop-down menu.

  4. Enter the location where you want to clone the source code to in the Clone tofield.

    1. Or, you can click Browseto open the file explorer and navigate to the location.
  5. Click Clone.

    Your source code is now in the specified location, and the cloned repository displays in Team Explorer.

Performing Git tasks

  • You can perform all git tasks from within Visual Studio. For more information on these tasks, refer to the Git reference guide .

  • You can also execute these git commands from a shell.

Create a Mobile Website
View Site in Mobile | Classic
Share by: