Create a new file

Create and add a new file to a repository using the web UI.

Creating and adding new files to your repository is an integral part of updating your project's content.

Follow these steps to add a file to your repository on Protocol.Land:

  1. You will be redirected to the file creation page.

Note: The files and folders are created relative to the file path you click the “Create new file” in. If a folder already exists, it will simply add the file to it based on the provided path.

  1. Type in your code in the provided code editor.

  2. Click “Commit Changes”.

  3. Type in the desired commit message that summarizes the changes.

  4. Preview the estimated cost of committing your changes by hovering over the information icon.

  5. Click “Commit changes”.

  6. You will be redirected to the main page of the repository, where the updated files list of the active branch will now include the newly created file.

Last updated