[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-03。"],[],[],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."]]