問題一
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://gitee.com/HuChile/shangxian-erp.git'
解決方法
git push -u origin master -f
問題二
unable to access 'https://gitee.com/zy8080/springbootjdbc.git/': The requested URL returned error: 403
解決辦法
控制面板--》用戶賬戶--》管理windows憑據(jù)--》找到git的憑據(jù),刪除他,后面push的時候會再彈出填賬號密碼的框
image.png
git config --global user.name '你的用戶名'
git config --global user.email '你的郵箱'