当我使用Hexo [ https://hexo.io/]在 github 上部署静态博客时,首先我执行“hexo init”来初始化 hexo 文件夹以生成如下文件和文件夹:
.
├── _config.yml
├── package.json
├── 脚手架
├── 源
| ├── _drafts
| └── _posts
└── 主题
但是,当我执行命令“hexo init”时,我发现它实际上执行了 git 命令:
[root@localhost buwei]# hexo init blog
INFO Cloning hexo-starter to /home/buwei/blog
Cloning into '/home/buwei/blog'...
remote: Counting objects: 53, done.
remote: Total 53 (delta 0), reused 0 (delta 0), pack-reused 53
Unpacking objects: 100% (53/53), done.
Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme- landscape.git) registered for path 'themes/landscape'
....
所以我想知道“hexo init”执行了哪些git命令?