git 提交 报error: src refspec master does not match any

新建仓库,提交报错

error: src refspec master does not match any
error: failed to push some refs to 'https://gitee.com/xiaohei/kanban-ware-house.git'

看一下本地分支是不是main
如果是main,新建分组master 再推送就好了

你可能感兴趣的:(git 提交 报error: src refspec master does not match any)