Skip to content

Instantly share code, notes, and snippets.

@SciLor
Created October 15, 2020 17:51
Show Gist options
  • Save SciLor/bc6522d96a5a43fa8d134c8ce1aed236 to your computer and use it in GitHub Desktop.
Save SciLor/bc6522d96a5a43fa8d134c8ce1aed236 to your computer and use it in GitHub Desktop.
Change main to master
git branch -m main master
git status
git push -u origin master
Change default branch on github (See /settings/branches)
git push origin --delete main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment