ghostBlog
- hexo
+ icarus
sudo apt install curl
sudo curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo
sudo chmod +x repo
sudo mv repo /usr/bin/
方式一:sudo vim /usr/bin/repo
REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo' //清华源
REPO_URL='https://gitee.com/ghostBlog/git-repo.git' //gitee源
方式二:export REPO_URL
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'
export REPO_URL='https://gitee.com/ghostBlog/git-repo2.9'
编辑文档后保存
显示预览
推送至source库
推送至blog库
echo "# testss" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/lele2017/testss.git git push -u origin master
git remote add origin https://github.com/lele2017/testss.git git push -u origin master