Effective June 17, 2024, Cloud Source Repositories isn't available to new customers. If your organization hasn't previously used Cloud Source Repositories, you can't enable the API or use Cloud Source Repositories. New projects not connected to an organization can't enable the Cloud Source Repositories API. Organizations that have used Cloud Source Repositories prior to June 17, 2024 are not affected by this change.
Stay organized with collections
Save and categorize content based on your preferences.
This topic shows how to browse a repository in
Cloud Source Repositories and how to switch from one repository to another.
Cloud Source Repositories simplifies viewing and accessing the repositories
that are important to you.
Browse to a repository
In the Google Cloud console, open Cloud Source Repositories.
The first page that opens is called the My source view. This page
contains two sections:
Starred. This section displays repositories, branches, files, and
folders that you flag as particularly important.
Recently Viewed. This section displays repositories, branches, files,
and folders that you have viewed recently.
Click the name of a repository to view its contents.
If the repository you want to view isn't listed in the Starred or
Recently Viewed section, click All repositories to search for
it. For more information, see
View all repositories.
View all repositories
If you don't see the repository you want to open in the My source, you
can search for it by viewing all repositories.
In the Google Cloud console, open the My source view.
From this page you can browse the list of repositories available to you.
Alternatively, use the Breadcrumb toolbar to browse for a specific
repository. This toolbar displays your current location in the repository
and lets you move quickly to another repository or another location within
a repository, such as a file, branch, or commit.
Click the name of a repository to view its contents.
Select a different view of a repository
By default, the code search and source browsing interface opens a repository to
the master branch. You can also view a specific branch for that repository, or
view the repository as it existed at a specific commit or tag.
To select a different view of the repository, follow these steps:
On the Breadcrumb toolbar, click the Branch/Commit/Tag menu.
In the submenu, use the branch name, a tag name, or a search box to select a
branch.
Select the state of the repository you want to view:
To select a branch using a branch name, select Branch, and then click
the name of the branch.
To select a branch using a commit ID, select Commit, and then click
the commit ID.
To select a branch using a tag name, select Tag, and then click the
tag name.
To search for a branch, commit, or tag, select the corresponding item
and type a search term in the search box.
Switch to a different repository
To switch to a different repository, select the repository from the Breadcrumb
toolbar.
By default, the code search and source browsing interface opens a repository to
the master branch.
Identify items with a star
You can identify important items such as repositories, folders, and files by
tagging them with a star. You can find starred items in the Starred section
of the My source view.
To star an item, click
the star star_border
next to the item you're viewing.
You can return the My source view by clicking Back to My Source.
Your repository now appears in the Starred section.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Browsing repositories\n\nThis topic shows how to browse a repository in\nCloud Source Repositories and how to switch from one repository to another.\nCloud Source Repositories simplifies viewing and accessing the repositories\nthat are important to you.\n\nBrowse to a repository\n----------------------\n\n1. In the Google Cloud console, open Cloud Source Repositories.\n\n [Open Cloud Source Repositories](https://source.cloud.google.com)\n\n The first page that opens is called the My source view. This page\n contains two sections:\n - **Starred**. This section displays repositories, branches, files, and\n folders that you flag as particularly important.\n\n - **Recently Viewed**. This section displays repositories, branches, files,\n and folders that you have viewed recently.\n\n2. Click the name of a repository to view its contents.\n\n If the repository you want to view isn't listed in the **Starred** or\n **Recently Viewed** section, click **All repositories** to search for\n it. For more information, see\n [View all repositories](#view_all_repositories).\n\nView all repositories\n---------------------\n\nIf you don't see the repository you want to open in the My source, you\ncan search for it by viewing all repositories.\n\n1. In the Google Cloud console, open the My source view.\n\n [Open the My source view](https://source.cloud.google.com)\n\n From this page you can browse the list of repositories available to you.\n\n Alternatively, use the Breadcrumb toolbar to browse for a specific\n repository. This toolbar displays your current location in the repository\n and lets you move quickly to another repository or another location within\n a repository, such as a file, branch, or commit.\n2. Click the name of a repository to view its contents.\n\nSelect a different view of a repository\n---------------------------------------\n\nBy default, the code search and source browsing interface opens a repository to\nthe master branch. You can also view a specific branch for that repository, or\nview the repository as it existed at a specific commit or tag.\n\nTo select a different view of the repository, follow these steps:\n\n1. On the Breadcrumb toolbar, click the **Branch/Commit/Tag** menu.\n\n2. In the submenu, use the branch name, a tag name, or a search box to select a\n branch.\n\n3. Select the state of the repository you want to view:\n\n - To select a branch using a branch name, select **Branch**, and then click the name of the branch.\n - To select a branch using a commit ID, select **Commit**, and then click the commit ID.\n - To select a branch using a tag name, select **Tag**, and then click the tag name.\n - To search for a branch, commit, or tag, select the corresponding item and type a search term in the search box.\n\nSwitch to a different repository\n--------------------------------\n\nTo switch to a different repository, select the repository from the Breadcrumb\ntoolbar.\n\nBy default, the code search and source browsing interface opens a repository to\nthe master branch.\n\nIdentify items with a star\n--------------------------\n\nYou can identify important items such as repositories, folders, and files by\ntagging them with a star. You can find starred items in the **Starred** section\nof the My source view.\n\nTo star an item, click\nthe star *star_border*\nnext to the item you're viewing.\n\nYou can return the My source view by clicking **Back to My Source** .\nYour repository now appears in the **Starred** section.\n| **Note:** If you don't see the repository in the **Starred** section, try refreshing your browser."]]