Typecho和hexo,都使用 Markdown 作为其内容书写语法。
这是因为相较于富文本语法来说, Markdown 更加简洁,原始文件即使没有引擎解析仍然有很好的易读性。
最重要的是 Markdown 通过简单语法,让人们专注于文字书写。
Markdown 编写的文档后缀为 .md
或.markdown
。
下面是一些 Markdown 常用语法。
你在维护一个项目时候,需要时刻保持Fork的项目和原项目的代码一致,防止冲突。
这里简单记录一下Github如何使自己Fork的项目和原项目同步。
目前有两种方式。
- 本地使用命令从原来项目上合并代码到本地,然后在push上去。
- 直接在 github 进行一个新的
Pull request
,然后在pull回本地。
- 直接在 github 进行一个新的
很显然第二种方法十分友好(图形化+chrome翻译吹爆),这里就简单记录一下步骤。
国内访问Github本身就挺难的,但是加上长城宽带简直男上加男。

info:Shell走代理的方法:传送门
注意: 代理地址不要加引号,会导致gclient下载出错
1.
2.使用
https.proxy
设置是无用的, 只需要设置http.proxy
(带查证)2.使用
socks5h://
更好, 查询远端DNSGit设置代理
#设置http代理
git config --global http.proxy socks5://127.0.0.1:1080
#设置https代理
git config --global https.proxy socks5://127.0.0.1:1080
#关闭ssl验证
git config --global http.sslVerify false
git config --global https.sslVerify false
#只对github.com
git config --global http.https://github.com.proxy socks5://127.0.0.1:1080
Git 取消代理设置
#取消http代理
git config --global --unset http.proxy
#取消https代理
git config --global --unset https.proxy
#开启ssl验证
git config --global http.sslVerify true
git config --global https.sslVerify true
#取消只对github.com代理
git config --global --unset http.https://github.com.proxy