Hacker News new | ask | show | jobs
Show HN: Git-walkthrough – Learn unfamiliar codebases by walking through history (github.com)
1 points by yoouareperfect 172 days ago
Built this because I kept getting lost trying to understand how codebases evolved. git-walkthrough lets you navigate through commits with arrow keys and view diffs between them as uncommitted changes in VS Code.

Just run npx git-walkthrough in any repo and step through the commit history. Press 'd' to toggle diff mode, and it shows you what changed between commits right in your editor.

Handy for: * Understanding how an unfamiliar codebase evolved * Code reviews where you want to step through changes * Learning from open source projects

Auto-restores your git state when you quit so nothing gets messed up.

https://github.com/mikealche/repo-walkthrough

Would love to hear what you think!