##这是一个markdown基本使用语法

hello

\l $\lim_{x\to\infin}f(x)$

小明 大明 姚明
1.5 8

添加链接

#代码块

int cmp(const void* _a, const void* _b) {
int a = *(int*)_a, b = *(int*)_b;
return a - b;
}

bool containsDuplicate(int* nums, int numsSize) {
qsort(nums, numsSize, sizeof(int), cmp);
for (int i = 0; i < numsSize - 1; i++) {
if (nums[i] == nums[i + 1]) {
return true;
}
}
return false;
}

Hexo部署过程中可能会出现错误

fatal: unable to access ‘https://github.com/a956551943/a956551943.github.io/‘: Encountered end of file
FATAL {
err: Error: Spawn failed
at ChildProcess. (/usr/local/src/hexo/hanyubolg/node_modules/hexo-util/lib/spawn.js:51:21)
at ChildProcess.emit (events.js:376:20)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) {
code: 128
}
} Something’s wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html
1
2
3
4
5
6
7
8
9
解决方式一:

spawn failed
(应该就是config俩内容不一样冲突了)

##进入站点根目录
cd /d/bolg/

##删除git提交内容文件夹
rm -rf .deploy_git/

##执行
git config –global core.autocrlf false

文本文件保持原来的样子。

##最后
hexo clean && hexo g && hexo d