GITHUBへ
■作業
■blog api
google devloper console
⇒redirect api setting
https://console.developers.google.com/apis/credentials/oauthclient/600028960191-u51dntho9a5meiv6gtn4loamk2gjqafs.apps.googleusercontent.com?project=project-id-3852312651088352255
以下は適当なindex.htmlを作成してとりあえず公開してみる方法。
前提はyourRepository/
をルートとして、yourRepository
リポジトリをcloneしている状態。
ある程度Git叩けることが条件
CommandLineLog
cd yourRepository/
git checkout --orphan gh-pages
git rm -rf . #これは別にやらなくてもいいかも
echo "My GitHub Page" > index.html
git add index.html
git commit -a -m "First pages commit"
git push origin gh-pages
あとは(若干タイムラグがあるらしいので、)一服してからhttp://yourself-account.github.io/yourRepository
アクセスするだけ。