Hacker News new | past | comments | ask | show | jobs | submit login

> It was eye-opening how simple the concepts of git are.

Exactly! Sometimes I'm bewildered how complex git porcelain (CLI interface) is compared to the basic building blocks.

Usually when I want to do something complex in git I think of how I want the structure to look like and then figure out which command does that ("was it git reset --soft or git stash --keep-index that did X?"). Now when I'm thinking about it I usually imagine states (like DOM trees). I see current state and the state I want to have the repo in (commits, working directly, index). What I'm missing here is a React-like reconciler that will transform one into other.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: