and navigate to a local directory where you want to clone the repository. To clone and open the repository with GitHub Desktop, click Open with GitHub Desktop. This was a quick walkthrough on how you can update a fork and sync it to the latest state of the original repository. On, navigate to the main page of the repository. Now your fork is up to date with the original repo. Provide the pull request with a title and a body, and then create the pull request: Create a pull request.įinally, on the pull request that got created, scroll to the bottom and merge the pull request: Merge the pull request.Īnd that’s it. You can merge those in by creating a pull request: After comparing the branches, create a pull request. Once you switch the bases, you’ll be able to open a pull request to merge in the changes from the original branch into your own. You can achieve this, by hitting the “switching the base” option: 1 Answer Sorted by: 1 One best practice is to create new branches in your fork, as to avoid conflicts with upstream changes. This is not what you want, you want the inverse.
Start by clicking the pull request button.įrom there, GitHub by default takes you to a view of opening a PR on the original repo to merge in your changes. Next to that mention, there is an option to open a pull request. You should see a mention that this branch is behind the original branch. To start, open the forked repo in Github. This is easy to do, but you have to know which buttons to push. Above the list of files, select the Sync fork dropdown menu. I recently needed to sync a GitHub repo I forked to the latest status of the original fork. On GitHub, navigate to the main page of the forked repository that you want to sync with the upstream repository. With GitHub Desktop, you can interact with GitHub using a GUI instead of the command line or a web browser.