Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Git, from scratch, in Python, Spelled out (github.com/yash-srivastava19)
20 points by yash-sri19 on Dec 19, 2023 | hide | past | favorite | 7 comments
A simple version control system.



Some other git-in-python projects include Dulwich [1], gittle [2], wyag [3], pygit [4], and zit [5]

1. https://www.samba.org/~jelmer/dulwich/docs/

2. https://github.com/FriendCode/gittle

3. https://wyag.thb.lt/

4. https://benhoyt.com/writings/pygit/

5. https://github.com/jmou/zit

I'm not listing these to criticize the poster's project. It is interesting to compare these projects. git-like programs form a whole category which provides opportunities to experiment with design ideas and programming style.

In this same spirit, there are also several (many?) vi-in-python projects.


I've lost the HN link now but a while ago there was also a tutorial featured that walked through how git works using Python: https://www.leshenko.net/p/ugit/


Thanks !! Will check these out


what are you going to rename it after you get the trademark takedown letter

because i'd like to link a friend of mine to this (it might be easier to understand than dulwich) but this url won't last a month


No plans as of now, will see.


The README made it sound like git is the backend for GitHub, while it is vice versa. While git is not GitHub, GitHub is git, VCS tools in code editors and IDEs are Git and tools like GitKranen are Git.


Sure, I get it. Will fix it asap.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: