Settings

Theme

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

github.com

1 points by yoouareperfect · 0 comments · 1 min read

Reader

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!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection