可参考 https://www.cnblogs.com/ptmmgmgwtam/p/15680383.html
#新建仓库
接下来填写信息即可
#上传本地文件
1 创建成功会生成一个网址,https://gitee.com/lala/fine.git
,切换到linux服务器端,首先初始化
git init
2 config一下,填写用户名和邮箱
git config --global user.name LV
git config --global user.email LV@qq.com
3 文件加载到缓冲区,并commit,“vv”是里面的提交声明
git add .
git commit -m "vv"
4 vv是仓库名,https://gitee.com/lala/fine.git是对应的链接
git remote add vv https://gitee.com/lala/fine.git
5 先pull然后push就可以了
git pull vv master
git push vv master
6 遇到此类问题一定是账号和密码有问题,账号一定要按照带@的那个来。 fatal: Authentication failed for 'https://gitee.com/