Nebraska.Code() Sessions tagged git

Rewrite Git History to Supercharge your Code Reviews

Dev1: "Hey, can someone go approve my pull request?" Dev2: (30 seconds later) "Sure, done."

In many organizations, peer review has begun being seen as an impediment to getting code deployed. The changes being reviewed are often way too large or difficult to follow, so reviews just get rubber stamped.

In this talk, we'll demonstrate several ways to get the most out of code reviews by looking at ways to make code reviews much more valuable. The majority of the our time together will be spent learning ways to make your pull requests tell a cohesive story about the code that's being implemented by using functionality in Git to rewrite the commit history. We won't just talk about it, though. We'll spend our time in a repository creating Pull Requests and using Git functionality to make them highly reviewable.

Speaker

Nathan Adams

Nathan Adams

Software Developer, United Fire Group

Git Demystified!

Git is a lot simpler than it looks.

Everything in a Git repository is based on just three fundamental types of objects: blobs, trees, and commits. Once you understand what these are and how they relate to each other, the apparent complexity of Git melts away revealing a simple, elegant system that is powerful because it is simple.

In this talk, we'll look under the covers of Git to see what is actually in a git repository on disk and what happens when you enter git commands like git commit. You'll come away with a better understanding of how Git really works and greater confidence in using Git.

Note: This is not an introduction to Git or a "how to" tutorial. You'll get more out of this talk if you have at least a little familiarity with Git, even (or perhaps especially) if you're struggling to get Git.

Speaker

David Body

David Body

President, Big Creek Software, LLC