Skip to content

Instantly share code, notes, and snippets.

@jokroese
Last active November 13, 2020 12:13
Show Gist options
  • Save jokroese/9d29a041884e49b7a8e75654d45e1421 to your computer and use it in GitHub Desktop.
Save jokroese/9d29a041884e49b7a8e75654d45e1421 to your computer and use it in GitHub Desktop.
Change branch from master to main
git branch -m master main
git status
git push origin HEAD
git branch -D master
git push origin :master
git status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment