Post

github pages 配置

github pages 配置

github pages

教程

网络问题各种报错 config这样配

1
2
3
4
5
6
7
8
9
10
11
#Default gitHub user Self
Host github.com
    HostName github.com
    IdentityFile ~/.ssh/id_rsa.github
	Port 443

# gitee
Host gitee.com
    Port 22
    HostName gitee.com
    IdentityFile ~/.ssh/id_rsa.gitee

必须要开启代理服务器

git config –global http.proxy http://127.0.0.1:7897 # 假设代理运行在本地 7897 端口

git config –global https.proxy http://127.0.0.1:7897 # 假设代理运行在本地 7897 端口

This post is licensed under CC BY 4.0 by the author.