tencent cloud

Feedback

View Repository Details

Last updated: 2023-12-25 17:08:18
    This document describes how to view repository details.

    Open Project

    1. Log in to the CODING Console and click the team domain name to go to CODING.
    2. Click
    
    in the upper-right corner to open the project list page and click a project icon to open the corresponding project.
    3. In the menu on the left, select Code Repositories.
    4. If Code Repositories is not shown on the left, the project admin needs to go to Project Settings > Projects and Members > Functions to enable the relevant function.
    On the Code Repositories page, click a repository name to go to the repository details page. The details page shows the files and commit history of the master branch by default.

    File List

    On the repository details page, the file directory and content of the readme file of the master branch are shown by default.
    Click any folder in the directory on the left to list all the files in this folder in the Files tab on the right. You can add, rename, lock, upload, download, or delete files and folders.
    
    Click any file in the directory on the left to display the content of the file in the Files tab on the right. You can edit, rename, lock, download, or delete the selected file and view it in raw form.
    
    Note:
    Hover over a file or folder in the directory to display the More Actions button. You can also click this button to perform the operations.

    Commit History

    1. Click the History tab, which shows the commit history of the master branch by default.
    2. Commit records are sorted in reverse chronological order. Click the name of a commit record or the SHA ID on the right to go to the Commits tab for the current repository and view Commit Details.
    

    Commit Details

    1. On the repository details page, click Commits to go to the commit record management page. By default, this page lists the commit records of the master branch in reverse chronological order. You can switch to another branch to view its commit history.
    
    2. Click the name or SHA ID of a commit record to open the details page for this record in a new tab. This page lists all the files changed in this commit.
    
    Note:
    For line-by-line code comparison, you can use Normal Mode, Side-by-Side Mode, and Advanced Options to locate code differences easily. You can also comment on specific lines of code.

    Normal Mode

    In normal mode, all files changed in this commit are shown. Expand a file to see specific changes. The specific changes are displayed line by line in a file. Additions are highlighted in green and deletions are highlighted in red.
    

    Side-by-Side Mode

    Click Switch to Side-by-Side to switch the code comparison mode from Normal to Side-by-Side. This mode gives you a clear view of the content before and after the changes. You can see the lines and content that have been changed. You can choose to browse the files before/after the changes or diff files.
    

    Advanced Options

    Advanced Options include word wrapping, show tabs, and performance mode. You can enable or disable these options as needed.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support