hands-on lab

Undoing Changes in Different States of Git

Intermediate
1h
41
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.
Lab 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
About the author
Avatar
Ben Lambert
Software Engineer
Students
108,631
Labs
37
Courses
49
Learning paths
58

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered topics
Lab steps
Web IDE Review
Git Reset
Git Revert