# 将本地项目上传至gitee

本地项目的目录。将这些文件上传到gitee上。

image-20240427155610577

# 01)创建远程的仓库

  • 本地文件夹的名字与仓库名字相同。【比较上图】

image-20240427155824367

# 02)初始化仓库

git init 
touch README.md
git add README.md
git commit -m "first commit"
1
2
3
4

# 03)关联远程仓库

git remote add origin https://gitee.com/ground-gun/spring-framework-5.2.x.git

# 提交到远程仓库
git push -u origin "master"
1
2
3
4

image-20240427160239736

# 04)提交全部文件

image-20240427160655028

Last Updated: 4/25/2025, 8:53:41 AM