提代码说明
最近正在看一本叫做netty实战的书籍,打算将书中源码放到我个人的git仓库中,方便以后 star
本人网站: www.telltao.cn github: https://github.com/telltao 欢迎您的访问~
开始上手
-
复制作者的代码到我的私人git仓库
Start 并Fork一下下即可 -
clone前的准备工作
$ git init
$ git clone git@github.com:telltao/netty-in-action.git
#提示无权限
Warning: Permanently added the RSA host key for IP address '13.229.188.59' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
#不要着急,配置你的姓名 邮箱
$ git config --global user.name "姓名"
$ git config --global user.email "telltao@qq.com"
$ ssh-keygen -t rsa -C "telltao@qq.com"
#回车
#回车
#回车
#提示以下表示成功
Generating public/privat