当初始化一个github项目的时候
按照github提示执行到
git branch -M main
返回错误:
error: refname refs/heads/master not found
解决:
先
git add .
git commit -m "init"
然后在执行
git branch -M main
好文推荐
评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。
当初始化一个github项目的时候
按照github提示执行到
git branch -M main
返回错误:
error: refname refs/heads/master not found
解决:
先
git add .
git commit -m "init"
然后在执行
git branch -M main
好文推荐
本文由 用户 于 2024-02-15 发布在 夸智网,如有疑问,请联系我们。
本文链接:https://www.kuazhi.com/post/713264231.html
发表评论