Hello World

如何搭建hexo 博客?推荐一个不错的方法!请查看hexo个人博客

git 推送代码到github

1
2
3
4
5
6
7
8
9
10
11
12
# 第一次提交
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/wuruixuan2464/personal.git
git push -u origin main

# 推送
git add .
git commit -m '提交说明'
git push

一般报错

1
2
3
4
5
6
7
8
9
10
这是服务器的SSL证书没有经过第三方机构的签署,所以报错。
OpenSSL SSL_read: Connection was reset, errno 10054

OpenSSL SSL_connect: Connection was reset in connection to github.com:443

解决方法

git config --global http.sslVerify false
git config --global --add remote.origin.proxy ""