MAC配置GIT&GITHUB环境
### 安装git 先判断电脑是否已经安装了Git 直接在命令行执行 ```shell git ``` 如果安装过,会输出如下信息 ```shell WMBdeMacBook-Pro:~ WENBO$ git usage: git [--version] [--help] [-C ] [-c name=value] [--exec-path[=]] [--html-path] [--man-pat...
2021-08-18更新项目到各端
# 本地运行 > 注意:本地运行依赖环境安装了nodeJs和hexo 1. 进入项目根目录 2. 执行下面命令 ```shell hexo clean hexo g ## 编译项目 hexo s ## 启动项目 ``` 为了更方便操作,我写了个启动脚本 ```shell # find hexo process hexo_pid=`ps -ef|grep hexo|grep -v grep|awk ...
2021-08-18创建文章并部署到Github
### 将项目关联到github 1. 在github上创建一个仓库,仓库名称必须满足下面格式 ${github-userName}.github.io 2. 修改项目的_config.yml文件,修改内容如下 ```xml deploy: type: git repo: git@github.com:imelokid/imelonkid.github.io.git branch: [main] ...
2021-08-181