Set Up GitSSH
1. Initialize git username and email
This is the global setting
git config --global user.name "XXX"
git config --global user.email "xxx@eeee.com"
2. Create SSH
$ ssh-keygen -t rsa -C "your_email@163.com"
press enter key if you are comfortable with defalt settings
3. get public key or copy public key
get pub_key
$ cat ~/.ssh/id_rsa.pub
copy
$ clip < ~/.ssh/id_rsa.pub