将代码上传到gitee.com

git config --global user.name <http://user.name/>?"名称"
git config --global user.email "邮箱"
git --version 查看版本号
git add -A 暂存
git commit -m '第一次提交'
git remote add origin https://gitee.com/你的网址/p2p.git

git pull origin master --allow-unrelated-histories

git push -u origin master

原文地址:https://www.cnblogs.com/LeYu/p/10239565.html