Last active
January 8, 2025 16:16
-
-
Save iggym/9261657 to your computer and use it in GitHub Desktop.
Github pages via Terminal --- Creating a
This file contains hidden or 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
from http://pages.github.com/ modified because it didn't work for me | |
Create a repository | |
using the web interface -- the name should be username.github.mypages | |
Clone the repo | |
Go to terminal, | |
mkdir mypages, cd mypages | |
~$git clone https://github.com/username/username.github.mypages | |
cd usernam.mypages | |
Add some content | |
echo "Hello World" > index.html | |
Push the content | |
git add --all | |
~$git commit -m "Initial commit" | |
~$git push -u origin master | |
View the Content -- be patient it takes a few minutes to propagate ... | |
http://username.github.mypages | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thats not that i searched for but still thanks idk how to push in terminal