每一年都奔走在自己热爱里

没有人是一座孤岛,总有谁爱着你

spring boot项目发布到git

1. 登录git (https://gitee.com/)

2. 登录成功后进入个人仓库

 

2.1 点击仓库的+号,创建私有仓库或公开仓库

我创建的是公开的仓库

创建完成

3. 发布项目

3.1 创建 .gitignore 文件

 

 

# Created by .ignore support plugin (liyh)
.idea
*.iml
target

3.1 创建git仓库

 

 

 

完成后项目会显示红色

 

3.1 提交代码(选择项目右键选git)

 

 选择完成,点击commit,提交完代码到本地仓库。

 

 

 git -> repository -> push 推送到远程仓库

 

 

 

 输入仓库密码,完成push

 

 

 

4. 项目上传git完成

 

5. 谢谢阅读,点波关注哟!!!

posted @ 2020-08-28 17:30  helloliyh  阅读(2330)  评论(0编辑  收藏  举报