preaction / Statocles

Static website CMS
http://preaction.me/statocles
Other
84 stars 33 forks source link

Suppress git warning about initial branch name #603

Closed voegelas closed 3 years ago

voegelas commented 3 years ago

This commit silences the below warning from recent Git releases. The tests work for me with the changes from this pull request and from #602.

hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint:   git config --global init.defaultBranch <name>
preaction commented 3 years ago

Thanks! I've cherry-picked this onto the v0 branch and will release it here shortly.