git remote add origin https://gitee.com/longcheng0409/rental.git
git add .
git commit -m “Initial commit”
git push -u origin master
– 如果有提示冲突,那么 先合并代码,再提交到远程
git pull --rebase https://gitee.com/longcheng0409/rental.git master
git push -u origin master
git 命令提交到远程仓库
最新推荐文章于 2023-11-04 21:04:51 发布