Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Learn Git Game

Welcome to the Learn Git Game! This interactive command-line game teaches you how to use Git by simulating a repository environment and walking you through various Git commands.


How to Play

The game consists of multiple levels, each teaching a specific Git command or concept. Your goal is to complete each level by entering the correct Git commands based on the provided objectives.

Game Levels

  1. Initialize a Git Repository
    Learn how to set up a new Git repository using git init.

  2. Stage Files
    Add files to the staging area with git add.

  3. Commit Changes
    Commit your staged changes using git commit.

  4. Create Branches
    Learn to create new branches with git branch.

  5. Switch Branches
    Switch between branches using git checkout.

  6. Advanced Git Features (Coming Soon)
    Learn about merging, rebasing, resolving conflicts, and more.


Installation

Requirements

  • A C++ compiler (e.g., g++)
  • A terminal or command prompt

Steps to Compile and Run

  1. Clone this repository:
    git clone https://github.com/your-username/learn_git.git
    
  2. cd learn_git
  3. g++ -std=c++17 -o learn_git learngit.cpp
  4. ./learn_git

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages