- Print
- PDF
Creating commit
- Print
- PDF
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.
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.
Connect to the NAVER Cloud Platform console.
Click the Services > Developer Tools > SourceCommit menus, in that order.
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.
Click the [Create file] button in the [Code] tab of the Repository's detailed feature page.
Enter the code in the Edit window of the Create file area.
- Files up to 400 KB in size can be created.
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.
Click the [Commit] button.
- A new commit is created after creating the file.
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.
- Connect to the NAVER Cloud Platform console.
- Click the Services > Developer Tools > SourceCommit menus, in that order.
- 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.
- Click the [Upload files] button in the [Code] tab of the Repository's detailed feature page.
- 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.
- 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.
- Click the [Commit] button.
- A new commit is created after uploading the file.
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.
Connect to the NAVER Cloud Platform console.
Click the Services > Developer Tools > SourceCommit menus, in that order.
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.
Click the file to modify in the [Code] tab of the Repository's detailed feature page, and then click the [Edit] button.
Modify the code in the Edit window of the Edit file area.
- Files up to 400 KB in size can be created.
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.
Click the [Commit] button.
- A new commit is created after modifying the file.
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.
Connect to the NAVER Cloud Platform console.
Click the Services > Developer Tools > SourceCommit menus, in that order.
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.
Click the file to modify in the [Code] tab of the Repository's detailed feature page, and then click the [Delete] button.
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.
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.
Click the [Commit] button.
- A new commit is created after deleting the file.
- 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.
- The Creator name is the