GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ritsource/a-git: A simplified implementation of Git, written in Go, supporting basic commands like init, add, status, commit, etc. Designed as an educational tool to explore how Git works under the hood.

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
cmd
cmd
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
BITEME.md
BITEME.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
main.go
main.go
 
 
test.sh
test.sh
 
 

Repository files navigation

This simplified implementation of Git, written in Go, to help understand how Git works under the hood. It supports a subset of Git commands with a focus on clarity and correctness.


✨ Features

The following Git-like commands are currently implemented:

  • init – Initialize a new repository
  • add – Add files to the staging area
  • rm – Remove files from the staging area and working directory
  • status – Show the working tree status
  • commit – Record changes to the repository
  • log – Show commit logs

📦 Installation

Clone the repository:

git clone https://github.com/yourusername/a-git.git
cd a-git

Build the binary:

go build -o a-git .

🚀 Usage

Commands work similarly to Git.

./a-git init
echo "Hello, world!" > hello.txt
./a-git add hello.txt
./a-git commit -m "Add hello.txt"
./a-git log

About

A simplified implementation of Git, written in Go, supporting basic commands like init, add, status, commit, etc. Designed as an educational tool to explore how Git works under the hood.

Resources

Readme
Apache-2.0 license
Activity

Stars

3 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.