The Git Commands I Run Before Reading Any Code
piechowski.io · 849 words · saved by 1 readers
Five git commands that tell you where a codebase hurts before you open a single file. Churn hotspots, bus factor, bug clusters, and crisis patterns.
The Git Commands I Run Before Reading Any Code The first thing I usually do when I pick up a new codebase isn't opening the code. It's opening a terminal and running a handful of git commands. Before I look at a single file, the commit history gives me a diagnostic picture of the project: who built it, where the problems cluster, whether the team is shipping with confidence or tiptoeing around land mines. What Changes the Most git log --format = format: --name-only --since = "1 year ago" | sort | uniq -c | sort -nr | head -20 I run this from app/ or src/ , not the repo root. Lockfiles,
saved by
related reading
- GitHub · Change is constant. GitHub keeps you ahead.github.com
- Best practices for Claude Code - Claude Code Docsanthropic.com
- Visualizing a Codebasegithubnext.com
- Code was our medium for thoughtwattenberger.com
- A Bunch of Programming Advice I'd Give To Myself 15 Years Ago | Marcus' Blogmbuffett.com
- Claude Code Hit Escape Velocity in January. So I Used Claude Code to /Catch-Up.zerotopete.com
- explain-diffgist.github.com
- Compare · Surfer-Org/Old-Protocol · GitHubgithub.com
- ashish0kumar - Overviewgithub.com
- OMBD#21: Master Git Diff With These Not-So-Known Commands | by Jon Portella | ITNEXTjportella93.medium.com
- How to Write a Git Commit Messagecbea.ms
- Entire · A new developer platform is comingentire.io