真是没想到搞个仓库这么复杂
问题一
PS D:\1前端\00后台管理系统\vue_shop> git push -u origin "master"
error: src refspec master does not match any
error: failed to push some refs to 'https://gitee.com/rolan77/vue_shop.git'
这里分别运行代码git add .
git commit -m "add files"
git status
就可以了,提示:On branch master
nothing to commit, working tree clean
问题二
执行git push -u origin "master" 的时候,应该弹出输入框输入账号密码的但是没有,报错
fatal: Custom certificate bundle not found at path: E:/娑撳娴囬惃鍕拫娴?Git/Git/mingw64/ssl/certs/ca-bundle.crt
找了半天解决办法之后发现他下面有一行文字:
Username for 'https://gitee.com':
所以可以直接输入邮箱和密码
然后就成功啦!