hexo-git-backup
hexo-git-backup copied to clipboard
you can use it to backup your blog into git.
INFO Validating config ERROR Plugin load failed: hexo-git-backup ReferenceError: primordials is not defined at fs.js:42:5 at req_ (H:\hexo blog\node_modules\natives\index.js:143:24) at Object.req [as require] (H:\hexo blog\node_modules\natives\index.js:55:10) at Object. (H:\hexo blog\node_modules\hexo-git-backup\node_modules\graceful-fs\fs.js:1:37) at...
我在 `_config.yml` 中没有设置 `theme`,为什么仍然备份了所有的主题,并且删掉了 `.git` 目录?
INFO Validating config ERROR { err: TypeError: os.tmpDir is not a function at Object. (/Users/phoenine/Documents/MyBlog/hexo/node_modules/temp/lib/temp.js:142:32) at Module._compile (node:internal/modules/cjs/loader:1091:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1120:10) at Module.load (node:internal/modules/cjs/loader:971:32) at Function.Module._load (node:internal/modules/cjs/loader:812:14) at Module.require (node:internal/modules/cjs/loader:995:19)...
比如我在一台电脑上备份了主题,然后想在另一台电脑上把备份的主题下载下来,有命令可以操作吗?
以前的 coding 仓库地址类似于 `[email protected]/xxxx`,现在 coding 更新了,同一个仓库,但是仓库地址变了,现在是类似于 `[email protected]/xxxx`,我在 '_config.yml' 配置文件里面更改了仓库名,执行 `hexo b` 报错,显示的仍然是以前的仓库名。 '_config.yml' 配置文件:  报错信息:  我也尝试过重新生成 SSH,但是没有用,一直都是以前这个仓库名,请问应该如何解决?
原错误信息 ``` hexo b INFO Start backup: git [source 7f8b55b] Backup blog 1 file changed, 1 insertion(+) create mode 100644 ttt/ttt.txt Branch 'master' set up to track remote branch 'source'...
events.js:287 throw er; // Unhandled 'error' event ^ hexo backup Error: spawn rm ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) Emitted 'error' event on ChildProcess instance at:...
你好,能否在命令后面添加一个参数用来记录每次的修改。 例如 `hexo b 'Change theme'`
未知报错
~$ npm install hexo-git-backup --save > npm ERR! code EINVALIDPACKAGENAME > npm ERR! Invalid package name "_@[email protected]@@babel": name cannot start with an underscore; name can only contain URL-friendly characters
 如图,推送github正常,但gitcafe、gitee报错