Git将本地项目上传到Gitee仓库
发布时间:2024年01月09日
1.右键点击文件,点击Git Bash Here,进入git窗口

2.初始化本地仓库
git init

3.将本地仓库与远程仓库建立连接
git remote add origin 远程仓库地址
远程仓库地址在gitee仓库复制即可


4.将远程仓库的文件拉到本地仓库中
git pull origin master

5.将本地文件全部上传到本地仓库
git add .
6.提交内容
git commit -am "注释信息"
7.?将本地仓库提交的内容推到远程仓库
git push origin master

8.远程仓库刷新查看?

文章来源:https://blog.csdn.net/qq_51389038/article/details/135458354
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:chenni525@qq.com进行投诉反馈,一经查实,立即删除!