具体步骤
git config –global user.name yt
git config –global user.name 2214100039@qq.com
git init
git remote add origin https://gitee.com/ytao99/data-structure.git
git add .
git commit -m “2022/9/5”
git push -u origin master
问题
运行该命令时出错
git push -u origin master
解决办法
先运行
git pull –rebase origin master
再运行
git push -u origin master
上传成功
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/287810.html