AshKeys

Confessions and Confusions of a Freelance Fullstacker.

Ashok Mannolu Arunachalam, BlogSetupHexoFix
Back

Hexo deploy: Fatal: in unpopulated submodule .deploy_git

Today, I checked out the hexo blog in my new laptop. It threw a fatal error when I tried to hexo deploy it. After trial and error for sometime, I found the quick and easy solution like Try turning it off and on again!

First install the relevant dependencies: (I do deployment to git)

shell
$ npm install hexo-deployer-git --save

Here comes the universal solution:

shell
$ rm -rf .deploy_git
$ hexo g
$ hexo d

Make sure you do not version the .deploy_git folder as it is specific to local environment and setup.