0%

githubpage migration strategy

githubpage migration strategy

generate ssh key

1
2
3
4
ssh-keygen -t rsa -C "[email protected]"
//keep pressing ENTER
cat ~/.ssh/id_rsa.pub
//copy code

add new ssh key

hexo migration

  1. create two branches,maseter and hexo.set hexo as default bracnch where we place hexo configuration files.
    defaut branch.png
  2. pull
    1
    git clone ..
  3. push hexo branch
    1
    2
    3
    git add .
    git commmit -m "xxx"
    git push -u origin master
  4. push master branch
    1
    hexo g -d