初学hexo,用hexo+github-pages创建blog,目录下的.deploy_git目录是什么,它的作用是什么?可以删掉吗?
hexo初始化后的目录结构只有以下这些:
而再安装主题后多出好多目录出来,我很困惑这些目录产生的缘由
我的想法是:.gitignore,db.json和.deploy_git是由于github-pages仓库中生成的(但我不太清楚db.json和.deploy_git具体的作用)
node_modules和public这两个目录的产生应该是由于主题的安装
phpcn_u15822017-05-02 09:41:41
.deploy_git: This should be a file for git deployment. For example, if you want to deploy the blog you have written to GitHub Pages, you can use git to deploy the plug-in, and the plug-in will create this directory
node_modules: This should be the plug-in/module directory used by node.js and installed in the current "project/directory". After all, hexo is installed through npm, right?
public: This should be the directory of the website compiled by hero
.gitignore: This is a git configuration file, which defines content settings that are not included in git management
db.json: I don’t know this either.