Day10 ----> 90DaysOfDevOps Challenge @TWS

Day10 ----> 90DaysOfDevOps Challenge @TWS

Day 10 Task: Advance Git & GitHub for DevOps Engineers.

Task 1:

  • Add a text file called version01.txt inside the Devops/Git/ with “This is first feature of our application” written inside ( commit message as "Added new feature").

image

  • Switch to the dev branch, version01.txt should reflect at the local repo first followed by the Remote repo for review.

image

  • Add a new commit in dev branch after adding below mentioned content in Devops/Git/version01.txt: While writing the file make sure you write these lines. 1st line>> This is the bug fix in the development branch. Commit this with a message “ Added feature2 in development branch”.

image

  • 2nd line>> This is gadbad code. Commit this with a message “ Added feature3 in the development branch."

image

  • 3rd line>> This feature will gadbad everything from now. Commit with message “ Added feature4 in development branch."

image

  • Restore the file to a previous version where the content should be “This is the bug fix in development branch”

image

image

Task 2:

  • Demonstrate the concept of branches with 2 or more branches with a screenshot.

image

image

  • Add some changes to the dev branch and merge that branch in the main.

image

  • For practice try git rebase too, and see what difference you get.

image

image

Day10 task is completed!

90DaysOfDevOps Tasks👇

github.com/Chaitannyaa/90DaysOfDevOps.git