Skip to content

Instantly share code, notes, and snippets.

@JurrianFahner
Created June 14, 2022 20:08
Show Gist options
  • Save JurrianFahner/f336fb0dbf356f54414d4ef064b7a628 to your computer and use it in GitHub Desktop.
Save JurrianFahner/f336fb0dbf356f54414d4ef064b7a628 to your computer and use it in GitHub Desktop.
git init --initial-branch=main
@JurrianFahner
Copy link
Author

JurrianFahner commented Mar 26, 2023

Or set config to init.defaultbranch=main to set it as default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment