Creating commit
    • PDF

    Creating commit

    • PDF

    Article Summary

    Available in Classic and VPC

    Create a commit by selecting a repository and creating code to save it as a file. You can also upload a code file created previously, or modify or delete a previous file.

    Note

    Log in to console using the SourceCommit customer account or the sub account with WRITE permissions or greater to create a commit.
    Refer to Sub Account Guide for how to grant permissions.

    Create file

    The following describes how to create a file.

    1. Connect to the NAVER Cloud Platform console.

    2. Click the Services > Developer Tools > SourceCommit menus, in that order.

    3. Select a repository from the SourceCommit page, and then click the [Go to code] button.

      • You can also click the repository name from the repository list.
    4. Click the [Create file] button in the [Code] tab of the Repository's detailed feature page.

    5. Enter the code in the Edit window of the Create file area.

      • Files up to 400 KB in size can be created.

      sourcecommit-use_commit2_ko

    6. Check the following in the Commit new file area, and then enter or select the value.

      • File path/Branch: Shows the path and branch (currently selected branch) where the file will be created.
      • File name: Enter the file name.
      • Creator name: Check or modify the creator's name.
      • Email address: Check or modify the email address.
      • Commit message: Enter the message describing the commit.
    7. Click the [Commit] button.

      • A new commit is created after creating the file.
    Note

    The account information of the logged-in account is automatically entered in the Creator name and Email address items.

    • The Creator name is the user.name value of the commit to be created.
    • The Email address is the user.email value of the commit to be created.

    Upload files

    The following describes how to upload a file.

    1. Connect to the NAVER Cloud Platform console.
    2. Click the Services > Developer Tools > SourceCommit menus, in that order.
    3. Select a repository from the SourceCommit page, and then click the [Go to code] button.
      • You can also click the repository name from the repository list.
    4. Click the [Upload files] button in the [Code] tab of the Repository's detailed feature page.
    5. Drag the file to the Drag the file or click here area of the Upload file area, or click Drag the file or click here to select the file.
      • Files up to 10 MB in size can be uploaded individually.
      • You can upload up to 3 files at a time.
    6. Check the following in the Commit new file area, and then enter or select the value.
      • File path/Branch: Shows the path and branch (currently selected branch) where the file will be created.
      • Creator name: Check or modify the creator's name.
      • Email address: Check or modify the email address.
      • Commit message: Enter the message describing the commit.
    7. Click the [Commit] button.
      • A new commit is created after uploading the file.
    Note

    The account information of the logged-in account is automatically entered in the Creator name and Email address items.

    • The Creator name is the user.name value of the commit to be created.
    • The Email address is the user.email value of the commit to be created.

    Edit file

    The following describes how to modify a file.

    1. Connect to the NAVER Cloud Platform console.

    2. Click the Services > Developer Tools > SourceCommit menus, in that order.

    3. Select a repository from the SourceCommit page, and then click the [Go to code] button.

      • You can also click the repository name from the repository list.
    4. Click the file to modify in the [Code] tab of the Repository's detailed feature page, and then click the [Edit] button.

    5. Modify the code in the Edit window of the Edit file area.

      • Files up to 400 KB in size can be created.

      sourcecommit-use_commit6_ko

    6. Check the following in the Commit changed file area, and then enter or select the value.

      • File path/Branch: Shows the path and branch (currently selected branch) where the file will be created.
      • Creator name: Check or modify the creator's name.
      • Email address: Check or modify the email address.
      • Commit message: Enter the message describing the commit.
    7. Click the [Commit] button.

      • A new commit is created after modifying the file.
    Note

    The account information of the logged-in account is automatically entered in the Creator name and Email address items.

    • The Creator name is the user.name value of the commit to be created.
    • The Email address is the user.email value of the commit to be created.

    Delete file

    The following describes how to delete a file.

    1. Connect to the NAVER Cloud Platform console.

    2. Click the Services > Developer Tools > SourceCommit menus, in that order.

    3. Select a repository from the SourceCommit page, and then click the [Go to code] button.

      • You can also click the repository name from the repository list.
    4. Click the file to modify in the [Code] tab of the Repository's detailed feature page, and then click the [Delete] button.

    5. Check the file's content in the Edit window of the Delete file area.

      • If you select a binary file, the file's content is not shown.

      sourcecommit-use_commit8_ko

    6. Check the following in the Commit changed file area, and then enter or select the value.

      • File path/Branch: Shows the path and branch (currently selected branch) where the file will be created.
      • Creator name: Check or modify the creator's name.
      • Email address: Check or modify the email address.
      • Commit message: Enter the message describing the commit.
    7. Click the [Commit] button.

      • A new commit is created after deleting the file.
    Note
    • The account information of the logged-in account is automatically entered in the Creator name and Email address items.
      • The Creator name is the user.name value of the commit to be created.
      • The Email address is the user.email value of the commit to be created.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.