更新本地到远程仓库

1/24/2020

# 更新步骤:

  1. 在blog更目录把本地更新好的文件推送到远程master分支

    
    git add .
    git commit -m "update"
    git push origin master
    
    1
    2
    3
    4
  2. 用用yarn构建静态文件

    
    yarn build
    
    
    1
    2
    3
  3. 进入更新好的静态文件夹

              
    cd .vuepress/dist
    
    
    1
    2
    3
  4. 把更新好的静态文件推送到远程分支blog-br01

    
    git init
    git add -A
    git commit -m 'update'
    git branch -m main blog-br01
    git push -f git@github.com:github653224/blogs.git blog-br01
    
    1
    2
    3
    4
    5
    6
  5. 非常好的把本地图片转换为网络在线地址

    • https://www.imgtp.com/
    • https://zhuanlan.zhihu.com/p/201347765
    • https://sm.ms/
    • https://imgse.com/
  6. 评论系统地址

    • https://valine.js.org/quickstart.html
    • https://console.leancloud.cn/apps/hGrwbHvwzB7IRwYEp6wnw4Sg-gzGzoHsz/ (944851899@qq.com/Leancloud.com112233)
Last Updated: 5/7/2023, 7:29:17 PM