Skip to content

Jayanth-Rookie/Githubvisual

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 

Repository files navigation

githubvisual

Git Visualization Using Stacks

This repository demonstrates how Git works internally using the Stack data structure. It provides a simple visualization of how commits, branches, and undo operations function in Git by modeling them as stack operations.

πŸ” Concept

Git follows a Last-In-First-Out (LIFO) approach in many operations, similar to a stack. This project visualizes how commits are pushed onto a stack and popped when rolling back changes.

πŸ›  How Git Relates to Stacks

  • Commits β†’ Pushed onto the stack.
  • Undo (Revert/Reset) β†’ Pops the latest commit.
  • Branches β†’ Represent multiple stacks, allowing diverging paths.
  • Merging β†’ Combines stacks into a single branch.

πŸ“Œ Features

  • Simulates Git operations using a stack.
  • Visualizes commit history as a stack.
  • Supports undo (pop operation) and redo.
  • Demonstrates branching and merging using multiple stacks.

😊 Collaborators

πŸš€ Getting Started

Prerequisites

  • HTML CSS JAVASCRIPT
  • Basic understanding of Git and Stack data structures

Installation

Clone this repository:

git clone https://github.com/BhuvanR75/githubvisual.git

Visit The site

https://bhuvanr75.github.io/githubvisual/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%