美文网首页
idea整合git

idea整合git

作者: slicn | 来源:发表于2018-04-12 00:12 被阅读0次
1.下载git win客户端 一路自定义安装
2. 打开idea version control 找到git 选择git安装目录 test image.png
3. 创建git 的ssh
  • cd ~/.ssh 查看客户端是否已经生成密钥 image.png
  • ssh-keygen -t rsa -C "github账号" 一路enter 生成ssh image.png
  • 查看公钥 image.png
  • 官网 使用ssh 和key进行免密客户端登陆 image.png
4. ssh git@github.com 验证是否添加成功 image.png
5. 打开idea github 添加github账号密码 image.png

拉github上的项目

1.使用idea直接创建 image.png
2. 使用git命令 git clone git@github.com:项目地址 如遇见错误 git init初始化

相关文章

网友评论

      本文标题:idea整合git

      本文链接:https://www.haomeiwen.com/subject/ovdtkftx.html