--- title: "Create a commit" slug: "sourcecommit-use-commits" tags: ["SourceCommit", "Sub Account"] updated: 2026-09-17T09:17:50Z published: 2026-09-17T09:17:50Z canonical: "guide.ncloud-docs.com/sourcecommit-use-commits" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Create a commit 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. Note 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](/docs/en/subaccount-overview). ## Create file To create a file: 1. From the NAVER Cloud Platform console, navigate to **Menu** > **All Services** > **Developer Tools** > **SourceCommit**. 2. Select a repository on the SourceCommit interface and click **[Go to code]**. - You can also click the repository name on the repository list. 3. Click **[Create file]** on the **[Code]** tab in the repository's detailed features page. 4. Enter the code in the editor in the **Create file** component. - The maximum file size allowed is 400 KB. ![sourcecommit-use_commit2_ko](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/sourcecommit-use_commit2_en.png?sv=2026-02-06&spr=https&st=2026-11-14T04%3A28%3A08Z&se=2026-11-14T05%3A28%3A08Z&sr=c&sp=r&sig=GJANj8miXQwNnuqUnyN6NObFyQitFi%2BhWiI%2BRB0ZASk%3D) 5. 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. 6. Click **[Commit]**. - A new commit is created when the file is created. Note Your log-in account is automatically entered into **Creator name** and **Email address**. - **Creator name** becomes `user.name` of the new commit. - **Email address** becomes `user.email` of the new commit. ## Upload file To upload a file, follow these steps: 1. From the NAVER Cloud Platform console, navigate to **Menu** > **All Services** > **Developer Tools** > **SourceCommit**. 2. Select a repository on the SourceCommit interface and click **[Go to code]**. - You can also click the repository name on the repository list. 3. Click **[Upload file]** on the **[Code]** tab in the repository's detailed features page. 4. 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. 5. 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. 6. Click **[Commit]**. - A new commit is created when the file is uploaded. Note Your log-in account is automatically entered into **Creator name** and **Email address**. - **Creator name** becomes `user.name` of the new commit. - **Email address** becomes `user.email` of the new commit. ## Edit file To edit a file, follow these steps: 1. From the NAVER Cloud Platform console, navigate to **Menu** > **All Services** > **Developer Tools** > **SourceCommit**. 2. Select a repository on the SourceCommit interface and click **[Go to code]**. - You can also click the repository name on the repository list. 3. In the repository's detailed features page, click the file to edit on the **[Code]** tab, and click **[Edit]**. 4. Edit the code in the editor in the **Edit file** component. - The maximum file size allowed is 400 KB. ![sourcecommit-use_commit6_ko](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/sourcecommit-use_commit6_en.png?sv=2026-02-06&spr=https&st=2026-11-14T04%3A28%3A08Z&se=2026-11-14T05%3A28%3A08Z&sr=c&sp=r&sig=GJANj8miXQwNnuqUnyN6NObFyQitFi%2BhWiI%2BRB0ZASk%3D) 5. 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. 6. Click **[Commit]**. - A new commit is created when the file is edited. Note Your log-in account is automatically entered into **Creator name** and **Email address**. - **Creator name** becomes `user.name` of the new commit. - **Email address** becomes `user.email` of the new commit. ## Delete file To delete a file: 1. From the NAVER Cloud Platform console, navigate to **Menu** > **All Services** > **Developer Tools** > **SourceCommit**. 2. Select a repository on the SourceCommit interface and click **[Go to code]**. - You can also click the repository name on the repository list. 3. In the repository's detailed features page, click the file to edit on the **[Code]** tab, and click **[Delete]**. 4. Review the file contents in the editor in the **Delete file** component. - If a binary file is selected, the file contents are not displayed. ![sourcecommit-use_commit8_ko](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/sourcecommit-use_commit8_en.png?sv=2026-02-06&spr=https&st=2026-11-14T04%3A28%3A08Z&se=2026-11-14T05%3A28%3A08Z&sr=c&sp=r&sig=GJANj8miXQwNnuqUnyN6NObFyQitFi%2BhWiI%2BRB0ZASk%3D) 5. 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. 6. Click **[Commit]**. - A new commit is created when the file is deleted. Note - Your log-in account is automatically entered into **Creator name** and **Email address**. - **Creator name** becomes `user.name` of the new commit. - **Email address** becomes `user.email` of the new commit.