Skip to content

Changing Files

Gil Poiares-Oliveira edited this page Jan 16, 2023 · 3 revisions

There's multiple ways to edit the files after you've forked the repository. They can be divided into two broad categories:

Online editing

There's 2 ways of editing your files online

  • Using the GitHub file editor (best for novices and for small changes)
  • Using github.dev (best for those familiar with Visual Studio Code)

If you're unsure, it's best to stick with the GitHub file editor.

Using the GitHub file editor

This is the best way for people unfamiliar with coding environments to make small changes to the repository files. The main limitation of this approach is that you can only edit 1 file per commit. You can, however, submit multiple commits per pull request, so this method does not influence the amount of times you need to submit changes.

  1. In your fork's repository, navigate to the file you wish to edit, and click on the pencil icon.
  2. Make the necessary changes.
  3. When you're done, write a brief description of what you've changed in the first text box under "Commit changes", use the bigger box to optionally give an extended description of your changes, if you think that would help others reviewing your changes.
  4. You can leave everything else as-is (specially the "commit directly to the main branch option).
  5. Click the "Commit changes" button.

You're done! Refer to the Submit Changes page to submit your changes.

Clone this wiki locally