Skip to content

salman1993/mygit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a simplified git in Python

Reading

Setup

uv sync

Testing

source .venv/bin/activate

mkdir test_dir && cd test_dir

mygit init
echo "hello world" > test.txt
echo "日本語" > nihongo.txt

mygit hash-object -w test.txt
mygit cat-file -p 3b18e512dba79e4c8300dd08aeb37f8e728b8dad

mygit status
mygit add test.txt
mygit status

tree .git

mygit commit -m "added test.txt"
mygit status

About

a simplified git CLI to grok git internals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published