πŸš€ GitHub Management Master Guide

Creation, Publishing, Renaming & Permanent Deletion

Phase 1
πŸ”Ή STEP 1: Create a New Repository
  1. Log in to your GitHub account.
  2. In the top-right corner, click the β€œ+” (plus icon) > New repository.

1️⃣ Repository Name: how-to-make-kebab

⚠ Lowercase only. Hyphens instead of spaces. This name forms your URL.

2️⃣ Description: (Optional) Briefly describe your project.

3️⃣ Repository Type: Select Public.

4️⃣ Initialize: Tick βœ” Add a README file.

5️⃣ License: Select βœ” MIT License.

6️⃣ Click: βœ” Create repository.

Phase 2
πŸ”Ή STEP 2: Upload Your HTML File
  1. Inside your repository, click β€œAdd file” > β€œUpload files”.
  2. Upload your file. It must be named: index.html.
⚠ GitHub is CASE-SENSITIVE. "Index.html" will NOT work.

Scroll down and click βœ” Commit changes (leave default settings).

Phase 3
πŸ”Ή STEP 3: Enable GitHub Pages
  1. Click Settings (top navigation bar) > Pages (left sidebar).
  2. Under "Build and deployment" > "Source", select GitHub Actions.
  3. Find Static HTML and click βœ” Configure.
  4. Commit the Workflow:
    • On the right-hand side, click βœ” Commit changes.
    • A small confirmation box will appear. Click βœ” Commit changes again.
⚠ Do not change anything inside the workflow file.
Phase 4
πŸ”Ή STEP 4 & 5: Deployment & Live Link

Wait approximately 30–60 seconds for GitHub to build your page.

Find Your Live Website Link:

  1. Go back to Settings > Pages.
  2. At the top, you will see: "Your site is live at:"
https://yourusername.github.io/how-to-make-kebab/
Management
βœ… GUIDE 1: How to Rename a Repository

Renaming changes your URL. Your GitHub Pages link will also change.

πŸ”Ή STEP 1: Go to Your repositories and select the target repo.

πŸ”Ή STEP 2: Click Settings (Top navigation bar inside the repo).

πŸ”Ή STEP 3: At the top, under Repository name, delete the old name and enter the new one.

Example: best-kebab-recipe

πŸ”Ή STEP 4: Click Rename.

⚠ Post-Rename Checklist:

  • GitHub redirects old repo links, but Pages URLs change immediately.
  • New Link: https://username.github.io/best-kebab-recipe/
  • Update your master index.html and any external bookmarks.
Danger Zone
❌ GUIDE 2: How to Delete a Repository

⚠ WARNING: Deleting a repository is permanent and cannot be undone.

πŸ”Ή STEP 1: Enter the correct repository and click Settings.

πŸ”Ή STEP 2: Scroll to the very bottom to the Danger Zone.

πŸ”Ή STEP 3: Click ❌ Delete this repository.

πŸ”Ή STEP 4: Type the full repository name exactly as shown to confirm (e.g., yourusername/repository-name).

πŸ”Ή STEP 5: Click ❌ I understand the consequences, delete this repository.

πŸ“Œ What Happens After Deleting?

  • All files are permanently removed.
  • GitHub Pages site stops working immediately.
Crafted & Designed by Umer Malik