Hexo [ https://hexo.io/]を使用して github に静的なブログをデプロイする場合、最初に「hexo init」を実行して hexo フォルダーを初期化し、次のようなファイルとフォルダーを生成します。
.
├── _config.yml
├── package.json
├── 足場
├── ソース
| ├──_ドラフト
| └── _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コマンドを知りたいですか?