Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.31 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.31 KB

Git & Github Lab 🗂

Complete the following steps to complete the project:

Step 1️⃣:

  1. Create a new git repo on your computer
  2. Create a file called index.html
    • Write your name in the file
  3. Stage the file index.html
  4. Create new commit with the message <put your name here> first commit

Step 2️⃣:

  1. Create a repo on GitHub
  2. Link it to your local repo
  3. Push your commit from Step 1️⃣ to GitHub

Step 3️⃣:

  1. From GitHub
    • Edit the index.html file to have your name + your city name
  2. Commit the change on GitHub with the message <your name> add city from GitHub

Step 4️⃣:

  1. Pull changes from GitHub to your computer
  2. Create a new file called README.md
    • Write some information about yourself
  3. Stage the file README.md
  4. Create a commit with the message <put your name here> add readme
  5. Push to remote repo (to GitHub)

Step 5️⃣:

  1. Create a new branch called xyz
  2. Checkout xyz branch
  3. Create a new file called wisdom.html
    • Write some wisdom in the file "عادي بالعربي"
  4. Stage the file wisdom.html
  5. Create a commit with the message <put your name here> add wisdom
  6. Push xyz branch to GitHub

Commits example ✅:

  1. Mohammed first commit
  2. Mohammed add city from GitHub
  3. Mohammed add readme
  4. ...