-
Notifications
You must be signed in to change notification settings - Fork 6
Updating an emulator
Jamiras edited this page Sep 26, 2020
·
3 revisions
Assuming you already have the repository checked out, add a new remote for the upstream:
$ git remote add vendor https://github.com/visualboyadvance-m/visualboyadvance-m
Each repository should already have a source
branch that is the state of the vendor code at the last point it was upgraded. Create a branch off that, and merge the target tag from the vendor repository:
$ git checkout -b source origin/source
$ git fetch vendor
$ git rebase v2.1.4
Make sure to build and test the unmodified emulator before proceeding to the next step.
Create a new merge branch, test, and create the PR.
$ git checkout master
$ git checkout -b vendor_2.1.4
$ git merge source
Build and test, making sure to note any new functionality that may have to be gated behind disable hardcore warnings.
Push the changes and create the PR
$ git push -u origin vendor_2.1.4
$ git checkout source
$ git push