template to use for publishing gitbooks to github.com
You can duplicate this repository https://help.github.com/articles/duplicating-a-repository/
-
Create a new repository on github.com
-
Create a bare clone of this repository
git clone --bare https://github.com/rebeccapeltz/gitbook-publishable-template.git
-
Mirror-push to new repository
cd gitbook-publishable-template.git
git push --mirror https://github.com/useraccount/new-repository.git
-
Remove the temporary repository create above
cd ..
rm -rf old-repository.git
Alternatively, you can also just download a zipped file of this repository and then use standard commands to push to initialize and push to your new repository.
git init
git add .
git commit -m"first commit"
git remote add origin [email protected]:useraccount/new-repository.git
git push origin master
Yay!