Page:
Rebase Line Ending Fix
Pages
Child Process Debugging
Cxbx Reloaded overview
Developer notes
Developing Homebrew and test programs
Frequently Asked Questions (FAQ)
HLE v2 Database Method
Home
Maintaining OOVPAs for HLE function detection
OOVPA sorting
Overview of the project & Glossary of terms
Rebase Line Ending Fix
Shortcut Keys
Updating a sub moduled Git repository
Xbox D3D drawing via NV2A Kelvin
dgVoodoo Upscale Method
4
Rebase Line Ending Fix
Margen67 edited this page 2021-06-11 13:32:21 -10:00
Table of Contents
Here are the instructions you should follow ensure there are no rebase conflict before rebase on top of Cxbx-Reloaded's default branch.
Thoroughly Check Inspection
- Pull latest commit from Cxbx-Reloaded's default branch into your default branch.
- This is important in order to obtain valid commit hash.
- Perform git rebase at
967f53a
commit in front of your branch's commits.git rebase 967f53a your_branch_name
- Fix any rebase conflict you may encounter in order to continue with the next step. Then move on to step 4.
- Same step with #2 except different commit, which is
615b702
. It is a requirement in order to normalize your commits line up with current default branch.git rebase 615b702 your_branch_name -Xrenormalize
- Verify there are no changes staged through
git status
command. If there are, then see step 6 or otherwise go to step 7. Since there is side effect which git didn't perform properly. - Find the source of the commit then manually renormalize those commit(s) via:
git add . --renormalize && git commit --amend --no-edit
- Finally, you can rebase your branch directly on top of latest default branch. If you encounter any rebase conflict, then you are responsible to fix it. Or simply recreate your commits in a new branch on top of latest default branch.
TL;DR
If you wish to skip all of above steps, you can try perform normal rebase with requirement of -Xrenormalize
parameter. Either with git pull --rebase
or git rebase
commands.
Home
Usage:
Development:
- Cxbx Reloaded overview
- Developer notes
- Child Process Debugging
- Developing Homebrew and test programs
- HLE v2 Database Method
- Maintaining OOVPAs for HLE function detection
- OOVPA sorting
- Updating a sub moduled Git repository
- Rebase Line Ending Fix
- Xbox D3D drawing via NV2A Kelvin
Other links: