Get the latest tech news

Going down the rabbit hole of Git's new bundle-URI


Git's new bundle-uri could help significantly speed up clones, but what bugs lurk within?

Most clones for a repository end up with very similar data transfer, but every single time, the git client and server are doing this (sometimes quite complex and expensive) negotiation dance. A few years ago (v2.38 in late 2022), Git gained the ability to provide a URL to a pre-calculated starting point for the repository that can be served from a simple HTTP file server, which means this seed data can be on a fast, distributed CDN. In theory, my understanding was that if I bundle up a repository and stick that file on a fast CDN that's very globally close to me (Berlin) and then use this feature, it would have to be faster than a fresh clone from GitHub or GitLab.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of rabbit hole

rabbit hole

Photo of Git

Git

Photo of URI

URI

Related news:

News photo

Git 2.49 Released With Faster Packing, Rust Foreign Language Interface

News photo

Micro keypad to do your regular Git push/pull/add/commit actions

News photo

I struggled with Git, so I'm making a game to spare others the pain