Skip to content

Instantly share code, notes, and snippets.

@budougumi0617
Last active July 3, 2017 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save budougumi0617/8883726 to your computer and use it in GitHub Desktop.
Save budougumi0617/8883726 to your computer and use it in GitHub Desktop.
GitHubを使って3分でHPを公開する。 ref: http://qiita.com/budougumi0617/items/221bb946d1c90d6769e9
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment