赞
踩
git init
git status
git add .
git status
git commit -m "first commit"
git remote add origin https://gitee.com/xxx/vue_enterprise.git
error: src refspec master does not match any
error: failed to push some refs to 'https://gitee.com/mrguolj/vue_enterprise.git'
报错原因在于master主分支已经更名为main,正确写法:
git push -u origin "main",特此记录一下
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。