Title here
Summary here
git branch --show-current
[ my_branch ]git checkout main
git pull
git checkout [ my_branch ]
git rebase -i mainIf there are any conflicts, resolve them, add them and run git rebase --continue
git push --set-upstream origin [ my_branch ] --force --dry-runCheck for any oddities, if none
git push --set-upstream origin [ my_branch ] --force