码迷,mamicode.com
首页 > 其他好文 > 详细

Git使用

时间:2020-05-12 14:04:46      阅读:51      评论:0      收藏:0      [点我收藏+]

标签:name   --   oba   点击   说明   lob   地址   ssh   mic   

1.安装成功后运行‘Git Bash’

技术图片

 

 2.点击后弹出命令框

技术图片

 

 3.查看账号,邮箱

命令 git config user.name

   git config user.email

技术图片

 

 

 4.设置账号,邮箱

命令 git config --global user.name ‘账号‘

   git config --global user.email ‘邮箱‘   

技术图片

 

技术图片

 

 

5.生成秘钥ssh

命令  ssh-keygen -t rsa -C ‘邮箱‘

 技术图片

 

 点击三次回车 

技术图片

 

 说明安装成功

()中的地址为秘钥在你本机的存储位置

5.查看秘钥ssh

命令 cat ~/.ssh/id_rsa.pub

技术图片

 

Git使用

标签:name   --   oba   点击   说明   lob   地址   ssh   mic   

原文地址:https://www.cnblogs.com/miniDog/p/12875518.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!