hands-on lab

Undoing Changes in Different States of Git

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 103
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Learn to undo changes with Git.

Git includes multiple commands for undoing changes, depending on the situation. This hands-on lab covers the git reset and git revert commands.

Learning Objectives:

At the end of this lab, you'll be familiar with the following:

  • The git reset command.
  • The git revert command.

Prerequisites:

  • Comfortable using Git.

Target Audience:

  • Software engineers
  • Data engineers
  • DevOps engineers
  • Site reliability engineers

Covered topics

Lab steps

Web IDE Review
Git Reset
Git Revert