Git Under the Hood: Internals, Techniques, and Rewriting History

This is a post in the Presentations series.


A look at how Git works, suggested best practices, and how I rewrote an app's Git history

Last fall, I spent several weeks rewriting the history of a Git repo to drop old files and modernize JS syntax.

Earlier this year, I had the opportunity to give a presentation about Git usage at work. I covered:

  • How Git actually stores data internally
  • Useful techniques for altering that history during development, such as "rebasing" and "cherry-picking"
  • Some suggested best practices for working with Git
  • A summary of that repo history rewriting task

Took me a while to get around to publishing the slides, but here they are:

Git Under the Hood: Internals, Techniques, and Rewriting History - slides


This is a post in the Presentations series. Other posts in this series:


Author Avatar

Mark Erikson

Collector of interesting links, answerer of questions