个人笔记 github
来源:互联网 发布:java工厂设计模式原理 编辑:程序博客网 时间:2024/05/16 09:18
个人笔记,github入门,添加ssh-key,常用命令
cd wd
git clone git@github.com:kailiuliuliu/kai.git
cd kai
git pull
git status
git add *.*
git commit
git push
添加ssh-key步骤,首先安装git
1. 进入git bash
git config --global user.name "kai"
git config --global user.email "fengk1992@126.com"
ssh-keygen -t rsa -C "fengk1992@126.com"
按3个回车,则密码为空。默认地址C:\Users\user\.ssh
2. 在github网站上添加id_rsa.pub里的内容
3. 测试之
ssh git@github.com
显示结果###############
$ ssh git@github.com
The authenticity of host 'github.com (198.19.0.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,198.19.0.112' (RSA) to the list of known hosts.
PTY allocation request failed on channel 0
Hi kailiuliuliu! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
显示结果###############
cd wd
git clone git@github.com:kailiuliuliu/kai.git
cd kai
git pull
git status
git add *.*
git commit
git push
添加ssh-key步骤,首先安装git
1. 进入git bash
git config --global user.name "kai"
git config --global user.email "fengk1992@126.com"
ssh-keygen -t rsa -C "fengk1992@126.com"
按3个回车,则密码为空。默认地址C:\Users\user\.ssh
2. 在github网站上添加id_rsa.pub里的内容
3. 测试之
ssh git@github.com
显示结果###############
$ ssh git@github.com
The authenticity of host 'github.com (198.19.0.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,198.19.0.112' (RSA) to the list of known hosts.
PTY allocation request failed on channel 0
Hi kailiuliuliu! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
显示结果###############
阅读全文
0 0
- Github 个人笔记
- github个人使用笔记
- 个人笔记 github
- GitHub基础教程(一) 个人笔记
- Hexo+github搭建个人博客--实践笔记
- GITHUB中上传本地文件-个人笔记
- 个人github
- Hexo+github搭建个人博客--主题配置 实践笔记二
- 学会Git玩转Github笔记(三)—— Github Pages 搭建个人网站
- #Github#个人常用命令
- hexo + github 个人博客
- github搭建个人网站
- gitHub hexo 个人博客
- 个人项目上传GitHub
- github发布个人网站
- github搭建个人博客
- 【Github】Github+Jekyll搭建个人博客
- github笔记
- 图片轮播
- N
- 0-1背包问题
- Androidstudio 导入mode 报错:"Manifest merger failed with multiple errors, see logs"
- mybatis查询时间段sql语句
- 个人笔记 github
- java 根据日期计算星期几
- Xml之Pull解析
- 使用Snapdragon Profiler工具分析Dragonboard410c(二)
- Java Swing中菜单栏、弹出式菜单、树形控件的使用
- 理解RESTful架构-转载自阮一峰的网络日志
- Android 屏幕适配攻略(四)获取手机屏幕的相关信息 与动态设置控件的大小
- 不可模数
- php7.0项目在本地完美运行上传至服务器手机app不显示数据