Created
August 15, 2021 08:42
-
-
Save shumiyao/39230a9f72eff36f8da296e16f04b5bf to your computer and use it in GitHub Desktop.
renaming git branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd template-lookbook (in your mac) | |
git branch -m paywall main; | |
git fetch origin; | |
git branch -u origin/main main; | |
git remote set-head origin -a; | |
git branch; | |
git checkout main; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment