How to Rebase to Another Branch in GitHUb

Updated . Posted . Visible to the public.

For examples,

  1. 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.
  2. There is a new default branch called main but your PR was based on an older branch master. To fix this, in master, rebase to main.
  3. When the maintainer requests to rebase to another branch
kiatng
Last edit
kiatng
Posted by kiatng to Git (2023-05-15 05:42)