📌  相关文章
📜  git 中的 main vs master - Shell-Bash 代码示例

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

代码示例1
The main branch has already replaced all new github repos as the main branch.
You can read up on it here. There is no actual difference between main and 
master, it's just the name of the default branch.

For you git push origin master just creates a new branch called master 
(since it doesn't exist already) and pushes your current commits there.