Skip to content

Show HN: Git-walkthrough – Learn unfamiliar codebases by walking through history

github.com/mikealche
1 pointyoouareperfectdiscuss
On HN

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!

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.