I follow official doc to update my gitbook using GIT:
touch README.md SUMMARY.md
git init
git add README.md SUMMARY.md
git commit -m "first commit"
git remote add gitbook https://git.gitbook.com/{{UserName}}/{{Book}}.git
git push -u -f gitbook master
After executing git push
it throws error:
remote: Book not found fatal: repository 'https://git.gitbook.com/xxx/yyy.git/' not found
xxx
is my gitbook username, yyy
is my space n me, could someone give me a hand?
jackmeng is my username. jack is my organization. note is my space name. Please correct me.
"Book" is used in legecy.gitbook.com, "Space" is used in www.gitbbok.com, Please see new document here: https://docs.gitbook.com/getting-started/starting-a-project-on-gitbook, "Space" replaces "book". If you want to integrate with github, what you need to do is integrating target space with target github repository, then sync work automated done.