Skip to content

Instantly share code, notes, and snippets.

@PompaDonpa
Last active August 31, 2022 15:17
Show Gist options
  • Save PompaDonpa/e615813288f1060bc824e262f8e935f8 to your computer and use it in GitHub Desktop.
Save PompaDonpa/e615813288f1060bc824e262f8e935f8 to your computer and use it in GitHub Desktop.
Version Control | GIT
"To configure the initial branch name to use in all
of your new repositories, which will suppress this warning, call: "
git config --global init.defaultBranch <name>
" Names commonly chosen instead of 'master' are 'main', 'trunk' and
'development'. The just-created branch can be renamed via this command: "
git branch -m <name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment