我愿设立一个有色人种的存放处,并改名为<代码>main Branch to master/code>。
If I create a new repository on github and do
git init
git add README.md
git commit -m "first commit"
git branch -M master
我
error: refname refs/heads/master not found
fatal: Branch rename failed
因此,我似乎不太明白。 这个问题是什么?
在我与上述两点玩.的时候,我不得不感到困惑。 情况如下:
git init
create the repository
<代码>git 添加README.md 增加档案
so I never have to rename it in the first place. Now Github uses the default main, which can be changed in settings -> repositories on github.com