1 min read
Published on September 24, 2025
gsw old-branch git branch -m new-branch git push -u origin new-branch # remote gets new branch
You can remove the old branch from remote to avoid confusion.
git push origin --delete old-branch