Last active
July 3, 2017 01:46
-
-
Save budougumi0617/8883726 to your computer and use it in GitHub Desktop.
GitHubを使って3分でHPを公開する。 ref: http://qiita.com/budougumi0617/items/221bb946d1c90d6769e9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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