/***********************************************************
* Author:samson
* date:08/15/2015
* Test Platform:
* GCC 4.8.2
* GNU Bash, 4.3.11 (1)-release (X86_64-PC-LINUX-GNU)
* Debian 8
* *********************************************************/
Ssh-keygen-t rsa-b 4096-c "[Email protected]"
Cat/users/you/.ssh/id_rsa.pub, add the contents of this public key file to ssh in Gitlab;
git config--global user.name "YOUR name"
git config--global user.email "YOUR email ADDRESS"
This error occurs when using Git clone:
Fatal:unable to access ' https://git.lianshinet.com/wbc/nginx-for-cg.git/': Server certificate verification failed. Cafile:/etc/ssl/certs/ca-certificates.crt Crlfile:none
Workaround:
Export Git_ssl_no_verify=1
REF:
https://help.github.com/articles/generating-ssh-keys/
https://help.github.com/articles/set-up-git/42R
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
GitHub Client Configuration Method Brief