Skip to main content

Command Palette

Search for a command to run...

🔥Day11 #90daysDevops🚀 Challenge

Updated
1 min readView as Markdown
🔥Day11 #90daysDevops🚀  Challenge

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


💎 Task-01

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

  •       git branch <name_of_newbranch>
    

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

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

      git checkout -b <branch_name>
    

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


💎 Task-02

  • 🔶 In version01.txt of the development branch add the 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 alterations”

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

  • 🔶 Line3>> This is the advancement of the previous feature

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

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

    Commit this with the message “ Feature2 completed”

  • 🔶 All these commit messages should be reflected in the Production branch too which will come out from the Master branch.


More from this blog

Untitled Publication

27 posts