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-another-users-repository.md
2021-06-24 11:02:53 -07:00

1.6 KiB

title, intro, redirect_from, versions, topics, shortTitle
title intro redirect_from versions topics shortTitle
Editing files in another user's repository When you edit a file in another user's repository, we'll automatically [fork the repository](/articles/fork-a-repo) and [open a pull request](/articles/creating-a-pull-request) for you.
/articles/editing-files-in-another-users-repository/
/articles/editing-files-in-another-user-s-repository
/articles/editing-files-in-another-users-repository
/github/managing-files-in-a-repository/editing-files-in-another-users-repository
fpt ghes ghae
* * *
Repositories
Edit another user's files
  1. In another user's repository, browse to the folder that contains the file you want to edit. Click the name of the file you want to edit.
  2. Above the file content, click {% octicon "pencil" aria-label="The edit icon" %}. At this point, GitHub forks the repository for you.
  3. 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 %}
  4. Click Propose file change. Commit Changes button
  5. Type a title and description for your pull request. Pull Request description page
  6. Click Create pull request. Pull Request button

Further reading