从gitbook将书籍导入到github中

gitbook自己的导出工具经常出问题,可直接使用git。
从gitbook中clone下书
$ git clone https://git.gitbook.com/username/name_of_book.git
$ cd name_of_book
$ git add *
$ git commmit -m ""
$ git remote add origin git@github.com:username/name_of_repository.git
$ git push -u origin master

posted @ 2016-01-17 20:02  ivyxjc  阅读(631)  评论(0编辑  收藏  举报