๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐—ฎ๐—ฑ๐—ฑ ๐—บ๐˜‚๐˜๐—ถ๐—ฝ๐—น๐—ฒ ๐—ฝ๐—ฟ๐—ผ๐—ท๐—ฒ๐—ฐ๐˜๐˜€ ๐—ถ๐—ป ๐˜€๐—ถ๐—ป๐—ด๐—น๐—ฒ ๐—ฟ๐—ฒ๐—ฝ๐—ผ๐˜€๐—ถ๐˜๐—ผ๐—ฟ๐˜† - ๐—š๐—œ๐—ง๐—›๐—จ๐—•

๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐—ฎ๐—ฑ๐—ฑ ๐—บ๐˜‚๐˜๐—ถ๐—ฝ๐—น๐—ฒ ๐—ฝ๐—ฟ๐—ผ๐—ท๐—ฒ๐—ฐ๐˜๐˜€ ๐—ถ๐—ป ๐˜€๐—ถ๐—ป๐—ด๐—น๐—ฒ ๐—ฟ๐—ฒ๐—ฝ๐—ผ๐˜€๐—ถ๐˜๐—ผ๐—ฟ๐˜† - ๐—š๐—œ๐—ง๐—›๐—จ๐—•

ยท

3 min read

Lets add multiple folders to single repository and make host website using
github pages
Lets get started........

STEP 1:-CREATE A REPOSITORY

open you Github and login โžœ click on (+ sign) new repository
git -1.png

โžœ Give a repository name EX:- multipleprojects (can give any name)
โžœ click on - PUBLIC
โžœ Add a README file
โžœ Create Repository

STEP 2: - UPLOAD MULTIPLE FILES TO REPOSITORY

git-2.png

โžœ Click on upload files
โžœ It will open File Explorer
โžœ Add projects or multiple files to the repository
โžœ and commit changes

NOTE: Make sure inside your each file containes index.html file ( otherwise it will show page not found / 404 error)

git -3.png

โžœ you can see your files and which you have uploaded
โžœ open each file and check containes index.html file or not

git-4.png

STEP 3:- ADDING LINK TO HOST OUR WEBSITES

โžœ Now go to setting
โžœ click on pages
โžœ Select branch name At the source sub-title (none) change to (main) โžœ beside that click save

git-add.png

โžœ you will get a link ( with your git-hub name and repository name ) with ending /

STEP 4:- CREATE A THEME

โžœ below that Theme choose theme
โžœ Choose a theme MINIMAL and select theme

git-5.png

minimal-1.png

โžœ Commit changes
โžœ You can see new file named called (_config.yml)

extra.png

STEP 5 : ADD LINK TO README FILE

โžœ make sure you are in resposity folder and click setting

copy link.png

โžœ click on pages you can see the link under GITHUB PAGES copy that link

git-6.png

โžœ Go to code click on edit icon (pen icon) erase the all code and paste the link you copied and commit changes

paste.png

STEP 6 : NOW ADD PROJECT LINKS TO README

โžœ Now open your first project & go to top search bar and copy the text after the ( " / " ) the name of your project/folder

FOLSR.png

โžœ click on repository name under README FILE - ( edit pen ) paste after the / sysmbol

โžœ YOU PROJECT WILLL BE OPEN /(output will be shown)

image.png

โžœ Now lets... do for second project
โžœ Same as we did first
โžœ click on repository name

second 333.png

โžœ go to the top bar (search bar)
โžœ copy the link after " / " name of the project

4445.png

โžœ click on repository name
โžœ copy the link after " / " name of the project
โžœ click on repository name under the readme file click ( edit pen )
โžœ paste that link .

change.png

โžœ commit changes โžœ click on link your project will be out....

           HAPPY LEARNING
ย