Keeping the original init.defaultBranch config value
- From
Peter Hadlaw <hadlawp@gmail.com>
- Date
- Nov 18, 2020, 16:46 UTC
- Message-ID
- <CABrPy+GrSB87mFm5tXsXkC+OKg6NBxUJA5b0NYsa18a8EbcrNw@mail.gmail.com>
Hello,
Just wanted to confirm that in order to keep new repositories initializing with `master` as the default branch the command would be:
``` git config --global init.defaultBranch master ```
Regards, Peter