1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Files
docs/content/github/managing-files-in-a-repository/managing-files-on-github/editing-files-in-your-repository.md
2021-06-24 11:02:53 -07:00

1.3 KiB

title, intro, redirect_from, versions, topics, shortTitle
title intro redirect_from versions topics shortTitle
Editing files in your repository You can edit files directly on {% data variables.product.product_name %} in any of your repositories using the file editor.
/articles/editing-files/
/articles/editing-files-in-your-repository
/github/managing-files-in-a-repository/editing-files-in-your-repository
fpt ghes ghae
* * *
Repositories
Edit your files

{% tip %}

Tip: {% data reusables.repositories.protected-branches-block-web-edits-uploads %}

{% endtip %}

{% note %}

Note: {% data variables.product.product_name %}'s file editor uses CodeMirror.

{% endnote %}

  1. In your repository, browse to the file you want to edit. {% data reusables.repositories.edit-file %}
  2. On the Edit file tab, make any changes you need to the file. New content in file {% data reusables.files.preview_change %} {% data reusables.files.write_commit_message %} {% data reusables.files.choose-commit-email %} {% data reusables.files.choose_commit_branch %} {% data reusables.files.propose_file_change %}

Further reading