git switch -c blah
git push -u origin blah
git switch main
git reset --hard origin/main
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies:
git switch -c blah
git push -u origin blah
git switch main
git reset --hard origin/main