p41 跨团队协作操作演示

p42 SSH免密登陆

Administrator@F4HFJA67XY3IIM1 MINGW64 /c/gitExercise/huashan ((17efae6...))
$ ssh-keygen -t rsa -C 409731725@qq.com
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):
Created directory '/c/Users/Administrator/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa.
Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:lvXYv0nJJJF83y8s7Kf7iMW4Eod4y3AXqvLyanxxxxx xxxxxx@qq.com
The key's randomart image is:
+---[RSA 3072]----+
|                 |
|           . .   |
|   .      . + .  |
|  o      o.+ o ..|
| . .   .So..+ . o|
|  E . +.* o+ * ..|
|   . + * =. = B .|
|    * . +  = +.+ |
|   o.*o  .o ==+  |
+----[SHA256]-----+Administrator@F4HFJA67XY3IIM1 MINGW64 /c/gitExercise/huashan ((17efae6...))
$ cd .ssh
bash: cd: .ssh: No such file or directoryAdministrator@F4HFJA67XY3IIM1 MINGW64 /c/gitExercise/huashan ((17efae6...))
$ cd ~Administrator@F4HFJA67XY3IIM1 MINGW64 ~
$ cd ~/.sshAdministrator@F4HFJA67XY3IIM1 MINGW64 ~/.ssh
$ ll -l
total 5
-rw-r--r-- 1 Administrator 197121 2602  9月 15 14:18 id_rsa
-rw-r--r-- 1 Administrator 197121  570  9月 15 14:18 id_rsa.pubAdministrator@F4HFJA67XY3IIM1 MINGW64 ~/.ssh
$ cat id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDjN/xpKk1/CK2UyFm58MZghyxiGIT3qe7/TmVC4DWkurOoPsO+1pO3eIDoOl3sVgIDvIKUNjKrUNkX/+SqQf3lO5ILBtBOcN1b8Y+XocLNImMn0PV7tIXwCoPUqklcBlOluGyen0SSG9TVLdUGF1CBcGR0roRBFMBSm0d7f/ZrSV4hnchBwYYYF2bYB+5kDG6JewhWEfkCyPL/kVWgLGb+IPFM1Der3XQ3XuwVttrnv4OKQSzmXge0gK6AfsgKXj9l1Mypk8acJm9nVpB3XD07xg6Sy6BpffuECPOCEWEEk52LjY80h4vlrwaao4Q2qiNZwo9mm+cn23wmp5AFP/mrj2EEa1Bmf4CtFz7enMJ/fPxdel2MFj9OZBpQASAb9/hwgqK0LD5BxclU9NlrVpd1Y06krLA0U8ihWB/rMdIT5tmrIELQ80+7PZh5ebcKNICHnjN0ahKSKNUrDgS9AWk/8PlJwow0j6++gGM1CeGZhUqI4ghDG6gnYB3NwB5GMys= 409731725@qq.comAdministrator@F4HFJA67XY3IIM1 MINGW64 ~/.ssh
$ cdAdministrator@F4HFJA67XY3IIM1 MINGW64 /c/gitExercise/huashan ((17efae6...))
$ vim huashanjianfa.txtAdministrator@F4HFJA67XY3IIM1 MINGW64 /c/gitExercise/huashan ((17efae6...))
$ git commit -m "test ssh login" huashanjianfa.txt
warning: LF will be replaced by CRLF in huashanjianfa.txt.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in huashanjianfa.txt.
The file will have its original line endings in your working directory
[detached HEAD ca413a4] test ssh login1 file changed, 3 insertions(+)Administrator@F4HFJA67XY3IIM1 MINGW64 /c/gitExercise/huashan ((ca413a4...))
$ git remote add origin_ssh git@github.com:crackggt1314/TestingHS.gitAdministrator@F4HFJA67XY3IIM1 MINGW64 /c/gitExercise/huashan ((ca413a4...))
$ git remote -v
hs      https://github.com/crackggt1314/TestingHS.git (fetch)
hs      https://github.com/crackggt1314/TestingHS.git (push)
origin  https://github.com/crackggt1314/test.git (fetch)
origin  https://github.com/crackggt1314/test.git (push)
origin_ssh      git@github.com:crackggt1314/TestingHS.git (fetch)
origin_ssh      git@github.com:crackggt1314/TestingHS.git (push)Administrator@F4HFJA67XY3IIM1 MINGW64 /c/gitExercise/huashan ((ca413a4...))
$ git push origin_ssh master
The authenticity of host 'github.com (13.229.188.59)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,13.229.188.59' (RSA) to the list of known hosts.
Everything up-to-date

p43 Eclipse中git插件

p44 Eclipse中 把工程初始化为本地库

《GIT视频教程》(p41~p44)相关推荐

  1. 【Git\GitHub\GitLab学习笔记】版本控制 Git 视频教程全集(62P)| 6 小时从入门到精通(P27-P41)

    目录 P27-Git基本原理-Hash算法简介 P28-GIt版本数据管理机制 - P33-为了测试远程交互初始化本地库 P34-创建远程仓库 P35-在本地创建远程库地址别名 P40-协同开发时冲突 ...

  2. 分享一个挺不错的Git视频教程

    http://down.51cto.com/zt/1530 解决了我以前的一些误区: 以为只能用TortoiseSVN来操作SVN,却不知道还有命令行,导致以前做SVN服务端操作时出了一些问题,不知道 ...

  3. git的入门摸索和入门研究

    git官网:https://git-scm.com/ git教程---菜鸟教程:http://www.runoob.com/git/git-tutorial.html git教程---廖雪峰:http ...

  4. 一份你女朋友都能读懂的 Git 教程,还不赶紧学起来!

    点击上方"IT平头哥联盟",选择"置顶或者星标" 你的关注意义重大! 用游戏的方式来学习,是一种有趣而高效的方式. 从刚接触电脑时的打字练习软件 金山打字通,到 ...

  5. 厉害了!寓教于乐,用玩游戏的方式学习 Git!

    作者 | mozlingyu 来源 | 少数派 用游戏的方式来学习,是一种有趣而高效的方式. 从刚接触电脑时的打字练习软件 金山打字通,到程序猿写代码的利器 Vim 都有小游戏(金山打字通游戏.VIM ...

  6. 2019好程序员Java开发入门视频教程分享

    本套视频为千锋2019Java开发全套视频教程+源码+笔记+学习路线+面试题,本教程是实战课程!挑战全网最全视频,没有之一.课程由视频教程+源码+笔记+学习路线+面试题组成,边看边练,效果好!本套课程 ...

  7. 动力节点Git安装使用教程,详细到哭

    Git(读音为/gɪt/)是一个开源的分布式版本控制系统,可以有效.高速的处理从很小到非常大的项目版本管理.Git是Linux作者Linus Torvalds为了帮助管理Linux内核开发而开发的一个 ...

  8. Git下载安装手把手教程

    原文:win10系统Git安装教程『纯小白教程超详细』[附赠Git使用教程] Git(读音为/gɪt/)是一个开源的分布式版本控制系统,可以有效.高速地处理从很小到非常大的项目版本管理.下面我们来详细 ...

  9. phpcms后台系统怎么去掉html目录_电子笔记本 | 好记性胜过烂笔头?基于python3的知识管理系统...

    要记忆很多东西,感觉自己记不住,或者总是忘记细节,怎么办? 记笔记啊,最好是电子笔记,方便查找和整理. 常言道: 好记性不如烂笔头.再好的记性,随着时间的推移都会遗忘的,除非不断地巩固.所以才有烂笔头 ...

最新文章

  1. uva 657 The die is cast
  2. 蓝桥杯--2013--黄金连分数(大数)
  3. 原生JS和jQuery实现banner图滚动那些事
  4. mysql的date函数可以干啥,MySql的Date函数
  5. 四层负载均衡与七层负载均衡
  6. html(1)基本组成
  7. 聊聊Java中的并发队列中 有界队列和无界队列的区别
  8. spring security method security
  9. MQTT和HTTP的区别
  10. 本地上传代码到github仓库
  11. 外媒:已有5家芯片厂商获准继续向华为供货
  12. java swing 列表框_Java开发笔记(一百三十一)Swing的列表框
  13. ASP.NET中实现模版的动态加载(转)
  14. 掌上文件、证件、文档扫描软件
  15. quartus13.0用原理图输入法设计8位全加器
  16. IDO已经OUT ?3分钟了解NFT的新玩法INO
  17. 优卡仕广告一体机——商用显示设备专家
  18. ACPC2015 K 树的直径
  19. linux 冒号用法
  20. emacs 使用集锦

热门文章

  1. http://www.cnblogs.com/yungboy/archive/2010/05/28/1746376.html
  2. 微软ATC的笔试面试经历
  3. 国内外主要搜索引擎登录入口
  4. react-native 找不到符号问题的解决方案
  5. 基于Python实现期权定价和股票技术指标
  6. VMware Workstation 全屏的设置方法
  7. NSIS Error的解决办法
  8. 2021年美赛C题思路
  9. 20条技巧,让Chrome超越Firefox
  10. 收银系统的优势功能有哪些?