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").
- Switch to the dev branch, version01.txt should reflect at the local repo first followed by the Remote repo for review.
- 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”.
- 2nd line>> This is gadbad code. Commit this with a message “ Added feature3 in the development branch."
- 3rd line>> This feature will gadbad everything from now. Commit with message “ Added feature4 in development branch."
- Restore the file to a previous version where the content should be “This is the bug fix in development branch”
Task 2:
- Demonstrate the concept of branches with 2 or more branches with a screenshot.
- Add some changes to the dev branch and merge that branch in the main.
- For practice try git rebase too, and see what difference you get.
Day10 task is completed!
90DaysOfDevOps Tasks👇