Skip to content

Instantly share code, notes, and snippets.

@ccondry
Created February 18, 2021 20:13
Show Gist options
  • Save ccondry/40b9042ee75813e3677446a5a51c3866 to your computer and use it in GitHub Desktop.
Save ccondry/40b9042ee75813e3677446a5a51c3866 to your computer and use it in GitHub Desktop.
set git default branch name
# this would set it 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