0.1.3 • Published 5 years ago

hexo-git-backup v0.1.3

Weekly downloads
159
License
MIT
Repository
github
Last release
5 years ago

git-backup

git-backup.

Install

$ npm install hexo-git-backup --save

Update

if you install with --save, you must remove firstly when you update it.

$ npm remove hexo-git-backup
$ npm install hexo-git-backup --save

Configure

You should configure this plugin in _config.yml.

backup:
    type: git
    repository:
       github: git@github.com:xxx/xxx.git,branchName
       gitcafe: git@github.com:xxx/xxx.git,branchName

Using

hexo backup 

or

hexo b

Options

if you want to back up with your theme,just add theme: your theme name in _config.yml.

backup:
    type: git
    theme: coney
    repository:
       github: git@github.com:xxx/xxx.git,branchName
       gitcafe: git@github.com:xxx/xxx.git,branchName

Attention: if you do as above, the dir themes/coney/.gitwill be removed

Now you can backup all the blog!

Problems

You may get some troubles by your computer' permission。

###Error: EISDIR, open it is caused by permission. just do 'sudo hexo b'

sudo hexo b
0.1.3

5 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.92

9 years ago

0.0.91

9 years ago

0.0.9

9 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago