Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,17 @@ Anyone can work with a previously opened pull request to continue working on it,
![Screenshot of the title of a pull request. The pull request's ID number is outlined in dark orange.](/assets/images/help/pull_requests/pull-request-id-number.png)

{% data reusables.command_line.open_the_multi_os_terminal %}
1. Fetch the reference to the pull request based on its ID number, creating a new branch in the process.
1. Fetch the reference to the pull request based on its ID number, creating a new branch in the process. Use the pull request ID and the name of the local branch you want to create in the command.

```shell
git fetch origin pull/ID/head:BRANCH_NAME
```

For pull request #123, creating a local branch named `test_branch`, this would become:

```shell
git fetch origin pull/123/head:test_branch
```

1. Switch to the new branch that's based on this pull request:

Expand Down
Loading