Available in Classic and VPC
After selecting a repository, write code and save it as a file or upload an existing code file, and create a commit by editing or deleting existing files.
To create a commit, log in to the console with a SourceCommit customer account or a sub account that has "write" (WRITE) or higher permissions.
For more information about how to grant permissions, see the Sub Account user guide.
Create file
To create a file:
- From the NAVER Cloud Platform console, navigate to
> Services > Developer Tools > SourceCommit. - Select a repository on the SourceCommit interface and click [Go to code].
- You can also click the repository name on the repository list.
- Click [Create file] on the [Code] tab in the repository's detailed features page.
- Enter the code in the editor in the Create file component.
- The maximum file size allowed is 400 KB.

- The maximum file size allowed is 400 KB.
- In the Commit new file component, review the following items and enter or select values as needed.
- File path/branch: Shows the path where the file will be created and the currently selected branch.
- File name: Enter file name.
- Creator name: Review or edit the creator name.
- Email address: Review or edit the email address.
- Commit message: Enter a message that describes the commit.
- Click [Commit].
- A new commit is created when the file is created.
Your log-in account is automatically entered into Creator name and Email address.
- Creator name becomes
user.nameof the new commit. - Email address becomes
user.emailof the new commit.
Upload file
To upload a file, follow these steps:
- From the NAVER Cloud Platform console, navigate to
> Services > Developer Tools > SourceCommit. - Select a repository on the SourceCommit interface and click [Go to code].
- You can also click the repository name on the repository list.
- Click [Upload file] on the [Code] tab in the repository's detailed features page.
- In the file upload component, drag and drop a file into the Drag and drop a file or click here component, or click Drag and drop a file or click here and select a file.
- Each uploaded file can be up to 10 MB in size.
- You can upload up to 3 files at once.
- In the Commit new file component, review the following items and enter or select values as needed.
- File path/branch: Shows the path where the file will be created and the currently selected branch.
- Creator name: Review or edit the creator name.
- Email address: Review or edit the email address.
- Commit message: Enter a message that describes the commit.
- Click [Commit].
- A new commit is created when the file is uploaded.
Your log-in account is automatically entered into Creator name and Email address.
- Creator name becomes
user.nameof the new commit. - Email address becomes
user.emailof the new commit.
Edit file
To edit a file, follow these steps:
- From the NAVER Cloud Platform console, navigate to
> Services > Developer Tools > SourceCommit. - Select a repository on the SourceCommit interface and click [Go to code].
- You can also click the repository name on the repository list.
- In the repository's detailed features page, click the file to edit on the [Code] tab, and click [Edit].
- Edit the code in the editor in the Edit file component.
- The maximum file size allowed is 400 KB.

- The maximum file size allowed is 400 KB.
- In the Commit edited file component, review the following items and enter or select values as needed.
- File path/branch: Shows the path where the file will be created and the currently selected branch.
- Creator name: Review or edit the creator name.
- Email address: Review or edit the email address.
- Commit message: Enter a message that describes the commit.
- Click [Commit].
- A new commit is created when the file is edited.
Your log-in account is automatically entered into Creator name and Email address.
- Creator name becomes
user.nameof the new commit. - Email address becomes
user.emailof the new commit.
Delete file
To delete a file:
- From the NAVER Cloud Platform console, navigate to
> Services > Developer Tools > SourceCommit. - Select a repository on the SourceCommit interface and click [Go to code].
- You can also click the repository name on the repository list.
- In the repository's detailed features page, click the file to edit on the [Code] tab, and click [Delete].
- Review the file contents in the editor in the Delete file component.
- If a binary file is selected, the file contents are not displayed.

- If a binary file is selected, the file contents are not displayed.
- In the Commit edited file component, review the following items and enter or select values as needed.
- File path/branch: Shows the path where the file will be created and the currently selected branch.
- Creator name: Review or edit the creator name.
- Email address: Review or edit the email address.
- Commit message: Enter a message that describes the commit.
- Click [Commit].
- A new commit is created when the file is deleted.
- Your log-in account is automatically entered into Creator name and Email address.
- Creator name becomes
user.nameof the new commit. - Email address becomes
user.emailof the new commit.
- Creator name becomes