git manipulate

Nov 17 2019

一、Related your site to github

Create repository on github named xxx.github.io(xxx according to your github account)

二、binding you domain

canme and A record

三、config ssh key

1
ssh-keygen -t rsa -C "email address"

adding your ~/.ssh/id_rsa.pub to your github SSH and GPG keys -> New SSH Key

Test if git config success

1
ssh -T git@github.com

Hi xxx! You’ve successfully authenticated, but GitHub does not provide shell access.

git config on you os

1
2
$ git config --global user.name "xxx"// github name
$ git config --global user.email "xxx@gmail.com"// github register email

git