Edit a file

Edit a file in a repository using the web UI.

Editing files directly within your repository on Protocol.Land is a common task that allows for quick updates and iterations.

Follow these steps to edit files within repositories on Procotol.Land:

  1. Navigate to the main page of the repository.

  2. Click on the file you wish to edit from the file list.

  3. You will be redirected to the file page.

  4. You will be redirected to the code editor for the file.

  5. Make changes to the code in the provided code editor.

  6. Click “Commit Changes”.

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

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

  9. Click “Commit changes”.

  10. You will be redirected to the file page where you can view the updated file content.

Last updated