📅  最后修改于: 2022-03-11 14:51:03.691000             🧑  作者: Mango
-- set the default branch to main
git config --global init.defaultBranch main
-- check the git settings on terminal
$ git config --list
user.name=John Doe
user.email=johndoe@example.com
color.status=auto
color.branch=auto
color.interactive=auto
color.diff=auto