Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 861 Bytes

08-github-exercise.md

File metadata and controls

51 lines (29 loc) · 861 Bytes

Github Assignment

Step 1

Create a new Github repo with name "learnjavascript".

Step 2

Tick .readme checkbox while creating repo.

Step 3

In Description write "Training Repository".

Step 4

Now clone this repo locally on your laptop.

Step 5

Now open repo folder in gitbash or terminal.

Step 6

Add 3 new files index.html, style.css, script.js.

Step 7

Now add 5 commits:

  • In first commit add index.html
  • In second commit add style.css file
  • In third commit add script.js file
  • In fourth commit modify script.js file
  • In fifth commit delete style.css file

Step 8

Now create new branch.

Step 9

In new branch add 3 commits :

  • In first commit add style.css file
  • In second commit add other.html file
  • In third file modify index.html file

Step 10

Now verify changes in main branch and new branch.