1
0
mirror of synced 2025-12-21 10:57:10 -05:00

Update content/github/collaborating-with-issues-and-pull-requests/syncing-a-fork.md

Co-authored-by: Alex Mullans <infin8x@github.com>
This commit is contained in:
Janice
2020-10-23 16:12:06 -07:00
committed by GitHub
parent 8691e3fc32
commit b8ae9903aa

View File

@@ -25,7 +25,7 @@ Before you can sync your fork with an upstream repository, you must [configure a
4. Check out your fork's local `main` branch.
```shell
$ git checkout main
> Switched to branch 'https://github.com/todbot/qtpy-tricks.git'
> Switched to branch 'main'
```
5. Merge the changes from `upstream/main` into your local `main` branch. This brings your fork's `main` branch into sync with the upstream repository, without losing your local changes.
```shell