How to Rebase to Another Branch in GitHUb
For examples,
- There are recent commits to branch A, but the commits should have been in branch B. To fix this, in branch A, use TortoiseGit to rebase to branch B.
- There is a new default branch called
main
but your PR was based on an older branchmaster
. To fix this, inmaster
, rebase tomain
. - When the maintainer requests to rebase to another branch