34 lines
1.6 KiB
Markdown
34 lines
1.6 KiB
Markdown
---
|
|
title: Editing files in another user's repository
|
|
intro: '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.'
|
|
redirect_from:
|
|
- /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
|
|
versions:
|
|
fpt: '*'
|
|
ghes: '*'
|
|
ghae: '*'
|
|
topics:
|
|
- Repositories
|
|
shortTitle: 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.
|
|

|
|
{% data reusables.files.preview_change %}
|
|
{% data reusables.files.write_commit_message %}
|
|
{% data reusables.files.choose-commit-email %}
|
|
6. Click **Propose file change**.
|
|

|
|
7. Type a title and description for your pull request.
|
|

|
|
8. Click **Create pull request**.
|
|

|
|
|
|
## Further reading
|
|
|
|
* "[Editing files in your repository](/articles/editing-files-in-your-repository)"
|