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
# Steps for renaming your master branch to 'main' | |
# Adapted from | |
# https://dev.to/rhymu8354/git-renaming-the-master-branch-137b | |
# https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx | |
#---------------------------------------------------------------------------------------------# | |
# A) - Steps if you have no remote / upstream | |
# B) - Steps if you are the repo owner and have a remote / upstream | |
# C) - Steps if you are using a repo where the upstream main branch has been renamed |