JetBrains Space Help

Edit a File

Space lets you edit files directly on its web interface. This can be helpful when you want to make minor changes on the go, while browsing or reviewing code, or if the computer/device you are using has not been set up for committing to the project.

  1. Navigate to the file you want to edit.

  2. Click edit-blue.png on top of the file view to switch to the editing mode:

    clickToEditFile.png

    If at this point you want to go back to the viewing mode, click remove-x.png next to the Commit button.

  3. Make your changes to the file content.

  4. To undo your changes, click revert-commit.png Revert.

  5. When you're done editing, click Commit.

    editFile.png
  6. Type in your commit message, and select the branch you want to commit to.

    You can choose to create a new branch for your commit:

    createNewBranch.png
  7. Click Commit again.

    Your changes will be pushed to the repository.

Last modified: 15 December 2023