todd-dsm / mac-ops

QnD Automation to build a MacBook Pro for DevOps
MIT License
11 stars 7 forks source link

update the gitconfig with defaultBranch main #94

Open todd-dsm opened 2 years ago

todd-dsm commented 2 years ago

update the gitconfig

git config --global init.defaultBranch main

[user]
    name = fName lName
    email = user@domain.tld
[core]
    editor = vim
    pager = cat
    excludesfile = ~/.gitignore
[color]
    ui = true
[push]
    default = matching
[alias]
    rlog = log --reverse
[pull]
    rebase = false
[init]
    defaultBranch = main      <--- adds this

This will get us past the information displayed

hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change...