IDEA 中使用Git

1.打开Idea  File—> Setting.

 

 git与idea结合使用

 

2.设置git.exe

 

 git与idea结合使用

3.test 测试是否成功

 

 git与idea结合使用

 

一、确认上传的项目名称,然后在gitlab上创建相同名称的项目名

 git与idea结合使用

二、然后在gitlab上创建相同名称的项目名


打开连接http://10.0.0.43:10080/dashboard/projects

新建项目如下:

 git与idea结合使用

git与idea结合使用


 

 

三、打开你的idea项目ssb07

 git与idea结合使用

四:配置本地仓库

VCS --> Import into Version Control --> Create Git Repository

 git与idea结合使用

git与idea结合使用

 项目颜色变红

 git与idea结合使用

项目颜色变绿


五、上传项目

 git与idea结合使用

 git与idea结合使用

 git与idea结合使用

 git与idea结合使用

 git与idea结合使用

 git与idea结合使用

 git与idea结合使用

 git与idea结合使用

 git与idea结合使用

 

然后点击OK。出现如下:

 

六、上传成功

到此项目上传到git成功

刷新git仓库可见如下:

git与idea结合使用



一、 打开idea,点击FileSettings,搜索git(安装系统默认设置即可)

git与idea结合使用

二、 选择git

 git与idea结合使用

三、 Git中项目的路径粘贴到IDEA的URL下。(复制框地址)

 git与idea结合使用

四、粘上三中复制地址到红色款(因我们的git只可本地访问,地址需改)

 git与idea结合使用

五、右下角跳出对话框,单击红色框内。等待项目下载即可

 git与idea结合使用


相关文章:

  • 2021-10-28
  • 2021-08-17
  • 2021-10-31
  • 2021-12-07
  • 2021-10-03
  • 2022-01-07
猜你喜欢
  • 2021-06-09
  • 2021-10-09
  • 2022-01-07
  • 2021-11-27
  • 2021-06-26
  • 2021-10-08
  • 2021-09-20
相关资源
相似解决方案