Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.03 KB

File metadata and controls

41 lines (28 loc) · 1.03 KB

Git Workshop

Welcome to the Git Workshop!

Getting Started

This repository contains exercises to help you learn Git.

What You'll Learn

  • Git basics (commits, branches, merging)
  • Stashing and recovering work
  • Cherry-picking commits
  • Interactive rebase
  • Git bisect for debugging
  • Working with remote repositories
  • GitHub Actions for CI/CD
  • Advanced Git commands

Prerequisites

  • Git installed
  • GitHub account
  • Basic command line knowledge

Instructions

Something seems wrong... This README doesn't have the detailed instructions!

Hint: The full workshop instructions were here in a previous commit. Can you use Git to find and restore them?

Try using commands like:

  • git log to see the commit history
  • git show <commit-hash> to view a specific commit's changes
  • git checkout <commit-hash> -- README.md to restore the file from that commit
  • git revert HEAD to undo the last commit
  • git reset --hard HEAD~1 to go back to the previous commit

Your First Exercise: Recover the full README!

Good luck!