Skip to content

Commit

Permalink
add new files
Browse files Browse the repository at this point in the history
  • Loading branch information
LYDongD committed Sep 7, 2019
1 parent 8505bf3 commit 7c55482
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
Binary file added dev-ops/shell/.DS_Store
Binary file not shown.
24 changes: 23 additions & 1 deletion dev-ops/shell/version/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#### commit log 提交规范


使用git commit ,弹出vim编辑器,提交多行文本

```
Expand Down Expand Up @@ -155,3 +154,26 @@ mark 图片路径前缀
https://raw.githubusercontent.com/LYDongD/graphic/master/markdown/
```
--

## 如何用SSH登录github

> 1 生成一对公私钥,并保存到指定文件
ssh-keygen -t rsa

> 2 上传公钥至github
在个人设置菜单里

> 3 本地设置github站点需要校验的私钥文件地址
vim ~/.ssh/config

```
host github.com
HostName github.com
IdentityFile ~/tmp.txt
User git
```

0 comments on commit 7c55482

Please sign in to comment.