GitHub で初めてのHPを公開
まずは、Create a new repositoryから、新しいレポジトリーを作成。
名前は、ユーザーネーム.github.io.git とした。
作成したレポジトリーアドレスを、自分のパソコンにクローン。
コマンドプロントから、
git clone https://github.com/username/username.github.io.git
を実行。
cd username.github.io
クローンディレクトリー内に、htmlファイルを作成。名前はindex.htmlとした。
コマンドから、
git add index.html
git commit -m "First commit"
git push