内容简介:这个过程做了很多遍了,但是每次几乎都记不起,又是重新 google,现在记录一下。mac 系统安装可以直接安装客户端即可。 当然也可以通过一样可以直接选择一个 git 客户端下载安装。
前言
这个过程做了很多遍了,但是每次几乎都记不起,又是重新 google,现在记录一下。
安装 git
Mac
mac 系统安装可以直接安装客户端即可。 当然也可以通过 brew
或者 MacPorts
安装。
Windwos 系统
一样可以直接选择一个 git 客户端下载安装。
linux
Ubuntu 上的命令如下:
sudo apt-get update sudo apt-get install git
配置 git
安装完成之后,配置 git 的用户名和邮箱,使用如下的 git 命令:
git config --global user.name "yourName"
git config --global user.email "[email protected]"
本地生成ssh key
使用命令:
ssh-keygen -t rsa -C "[email protected]"
默认生成的 key
在 /home/.ssh/id_rsa.pub
中,使用 cat 命令可以输出查看。
在github中添加SSH key
具体步骤如下: 登陆 github 进入 Account Settings 点击 SSH Keys 点击 Add SSH Key
粘贴刚刚生成的 key 内容到 key 框内即可。
测试ssh key是否成功
ssh -T [email protected]
若出现 You’ve successfully authenticated, but GitHub does not provide shell access
。表示已经成功连接 github。
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
An Introduction to Genetic Algorithms
Melanie Mitchell / MIT Press / 1998-2-6 / USD 45.00
Genetic algorithms have been used in science and engineering as adaptive algorithms for solving practical problems and as computational models of natural evolutionary systems. This brief, accessible i......一起来看看 《An Introduction to Genetic Algorithms》 这本书的介绍吧!