Skip to content

Instantly share code, notes, and snippets.

@farism
Created September 6, 2021 09:25
Show Gist options
  • Save farism/f0ee1b90f47726fde77cdc7ed5ef53be to your computer and use it in GitHub Desktop.
Save farism/f0ee1b90f47726fde77cdc7ed5ef53be to your computer and use it in GitHub Desktop.
Change default git init branch to "main"
git config --global init.defaultBranch trunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment