JSFoo 2020

JSFoo 2020

On JavaScript in the enterprise; JS for advanced developers and architects

Rob Richardson

@robrich

The Definitive Deep Dive into the .git Folder

Submitted Jun 20, 2020

What’s in the .git folder? How are commits stored? How do branches work? We’ll dive deep into the objects folder, unpack commits, look at the types of DAG nodes, examine object content, and build a complete visualization of the stored content. We’ll also quickly look through Git hooks, Git config, and ref logs. Come experience the zen of git.

Outline

This no-slides talk starts with an empty folder and a terminal. After building up a bit of git history, we examine each file in the .git folder with a goal of helping users appreciate the design decisions that make up git, making it much less confusing to use. Attendees can appreciate the staging area when they understand that the objects folder is made up of commits, tree nodes, and blobs. Branches and remotes make more sense when we understand the refs folder. We also look at logs, config, and hooks -- perfect for automating the awkward bits we always seem to forget.

Requirements

none

Speaker bio

Rob Richardson is a software craftsman building web properties in ASP.NET and Node, React and Vue. He’s a Microsoft MVP, published author, frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high quality software development. You can find this and other talks on https://robrich.org/presentations and follow him on twitter at @rob_rich.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more