Github Hosting

  1. Create new repository github

2. Setting up your repository to public

3. Remote your project to repository

write and follow that code on command line or your terminal if error try this:

git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin (your link)
git push -u origin main

4. Go to Settings

5. Click menu Pages

6. Select branch to main ---> save

7. Click your hosting link

8. Congratulation, this is your first website

Last updated

Was this helpful?