@[email protected]

What's new in Git 3

New internals.
Familiar workflow.

A preview of the planned Git 3.0 changes

by Rob Richardson

  @[email protected]

https://robrich.org/

About Me

Rob Richardson

Rob Richardson is a software craftsman building web properties in ASP.NET and Node, React and Vue. He's a 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 Mastodon at @[email protected].

What would break if Git changed
how it stores history?

Your commands?

Your branches?

Your build?

Your workflow?

Demo

Git workflow

"If you do nothing but upgrade your tools, you'll be completely fine."

- Me ... right now

Git 3 Features

SHA-1 to SHA-256

Demo

A SHA-256 repository

reftable:
a better storage format

Demo

Files → reftable

Main is the
default branch name

Demo

main is the new default branch

Git and Rust

Bare Repositories

Demo

bare repositories

New Commands

Demo

git switch & git restore

Existing repos

Demo

opt in for existing repos

You only get the new features if you want to

Git 3 Changes

Git 3 changes Git internals for new repos.

Upgrade tools as soon as Git 3 releases.

Upgrade existing repos when you're ready.