Day11 ----> 90DaysOfDevOps Challenge @TWS

Day11 ----> 90DaysOfDevOps Challenge @TWS

Day 11 Task: Advance Git & GitHub for DevOps Engineers: Part-2

Task-01

  • Create a new branch and make some changes to it.

image

  • Use git stash to save the changes without committing them.

image

  • Switch to a different branch, make some changes and commit them.

image

  • Use git stash pop to bring the changes back and apply them on top of the new commits.

image

Task-02

  • In version01.txt of development branch add below lines after “This is the bug fix in development branch” that you added in Day10 and reverted to this commit.

  • Line2>> After bug fixing, this is the new feature with minor alteration”

Commit this with message “ Added feature2.1 in development branch”

image

  • Line3>> This is the advancement of previous feature

Commit this with message “ Added feature2.2 in development branch”

image

  • Line4>> Feature 2 is completed and ready for release

Commit this with message “ Feature2 completed”

image

  • All these commits messages should be reflected in Production branch too which will come out from Master branch (Hint: try rebase).

image

image

image

image

image

Task-03

  • In Production branch Cherry pick Commit “Added feature2.2 in development branch” and added below lines in it:

image

  • Line to be added after Line3>> This is the advancement of previous feature

image

  • Line4>>Added few more changes to make it more optimized. Commit: Optimized the feature

image

You can Post on LinkedIn and let us know what you have learned from this task by #90DaysOfDevOps Challange. Happy Learning :)

Day 11 task Completed

90DaysOfDevOps Tasks👇

github.com/Chaitannyaa/90DaysOfDevOps.git