📜  git branch -M main 不工作 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:39.051000             🧑  作者: Mango

代码示例1
Git init creates a repo without any commits.

Since a branch is a pointer to a commit, you can't have branches until you commit something.