Skip to content

Instantly share code, notes, and snippets.

@r-this
Created July 18, 2022 15:36
Show Gist options
  • Save r-this/8174a297d7014d94d8eeab5ae11ae315 to your computer and use it in GitHub Desktop.
Save r-this/8174a297d7014d94d8eeab5ae11ae315 to your computer and use it in GitHub Desktop.
Change git default branch name to main
git config --global init.defaultBranch main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment