username.github.comページの作り方


モダンな Perl5 開発環境について - Modern Perl5 Development Environment - 2010年代を生きのびる Perl5 活用術
のスライドがとっても良かったと思ったんだけど
url見たら、tokuhirom.github.com となっていた。


ほう、こういう使い方ができるのかと調べてみたら
公式に載っていた。
GitHub Pages - Home

作成方法

username.github.com という名前のリポジトリをgithubで作成します。
(私の例ではrochefort.github.com)
その後は、index.html作ってpushするだけ。
成功すると、作成完了のメールが届きます。

mkdir rochefort.github.com
cd rochefort.github.com
git init
echo "rochefort's page" > index.html
git add .
git commit -m 'initial'
git remote add origin git@github.com:rochefort/rochefort.github.com.git
git push origin master


スライド置くのが流行なのかな。