Loading video...

Video Failed to Load

Go Home

A DEVELOPER PROVED YOU CAN FIND THE EXACT COMMIT THAT BROKE YOUR CODE IN A HISTORY OF 10,000 -- IN ABOUT 13 STEPS, AUTOMATICALLY.. 33 minutes from a Google engineer on git bisect: the built-in command that binary-searches your entire history to hunt down the one commit that introduced...

37,960 views • 4 months ago •via X (Twitter)

22 Comments

Bizzi's profile picture
Bizzi4 months ago

Will watch this soon, thanks bro

kachchedin's profile picture
kachchedin4 months ago

The hard part lies buried in this high promise tweet. Writing tests. Yes, you have to submit the tests to the flow to be able to find the break point. Did you leave out the testing bit for later? Ha ha, this git bisect ain't for you.

cvxv666's profile picture
cvxv6664 months ago

guy is speaking at a Google conference - he's clearly someone you can trust

znmop's profile picture
znmop4 months ago

Bold of you to assume our tests are passing

shmidt's profile picture
shmidt4 months ago

git bisect is legitimately one of those tools that feels like magic once you use it

wluha's profile picture
wluha4 months ago

git bisect is one of those tools way more devs should know tbh

Nekt0's profile picture
Nekt04 months ago

Clear idea

Harry Tandy's profile picture
Harry Tandy4 months ago

stop guessing and let git find the culprit

𝗢𝗠𝗘𝗚𝗔's profile picture
𝗢𝗠𝗘𝗚𝗔4 months ago

binary search cuts ten k down to thirteen most devs still grep the diffs instead

Dipanshu Kushwaha's profile picture
Dipanshu Kushwaha4 months ago

That's impressive! Git bisect is a game changer. It's like detective work for code—solving mysteries one commit at a time!

Antid's profile picture
Antid4 months ago

appreciate the share fam

0xbobaa's profile picture
0xbobaa4 months ago

i don't believe it's that simple and only 13 steps

Alien Operator's profile picture
Alien Operator4 months ago

Git bisect is one of those boring superpowers. Agents get flashier, but a clean binary search through history still feels like cheating in the best way.

Ridark's profile picture
Ridark4 months ago

The production lifted an already excellent conversation

Adel Bucetta's profile picture
Adel Bucetta4 months ago

the honest answer is, we're still in the dark ages when it comes to code reliability and debugging. this just highlights how much work we have to do on making dev tools smarter

Glen Handke's profile picture
Glen Handke4 months ago

Get bisect only works as far back as you can build with your current libraries, build tools, and dependencies. In other words, it only works if the breaking change was very recent. Otherwise, you spend more time restoring packages and trying to get old checkouts to build then it would have taken to find the bug with a compare.

Gipp 🦅's profile picture
Gipp 🦅4 months ago

Yes, many people just haven't learned, that's all

SLOT.WIN's profile picture
SLOT.WIN4 months ago

i’ve seen coders debug for days not knowing this trick exists git bisect is the quiet cheat code no one talks about but everyone needs

rari's profile picture
rari4 months ago

binary search for bugs is simple but ridiculously useful

Atenov int.'s profile picture
Atenov int.4 months ago

i used bisect once and it was a lifesaver

Insomnia's profile picture
Insomnia4 months ago

more way why it's matter

Nick Venturi's profile picture
Nick Venturi4 months ago

still going to end up manually checking the last five commits and blaming someone else

Related Videos

THIS IS F*CKING OBSCENE opus 5.5 got Fortnite running inside Minecraft and Minecraft running inside GTA 5, with nobody's permission and nobody's documentation three engines, three completely different ways in, and one of them has no way in at all THREE GAMES, THREE DIFFERENT WAYS IN → Minecraft is Java and ships a loader on purpose. that one is the front door. you write against an interface somebody meant for you to use → GTA 5 has no modding api and no front door. you get a compiled binary and nothing else, and the only route in is to read it → Fortnite is a live service with anti cheat sitting on top. there is no way in at all, and that single fact changes the entire job WHAT READING A BINARY ACTUALLY MEANS → no source, no comments, no function names. you recover what code does from what it is, which is the opposite direction from how it was written → the exact build gets pinned before anything else, because one patch moves every address underneath you, and a different version is a different game → nothing counts until it is confirmed inside the running process. launch it, play it, look at it. opus 5.5 does the reading, the pinning and the checking, and that loop is the part that used to be a team and a year WHAT THIS ACTUALLY CHANGES → reverse engineering was the most expensive skill in modding. one person, one binary, months of evenings, and the knowledge died with the project → now it is a loop that runs while you sleep, and what comes out of it is not a guess, it is something that got checked against the game while the game was running → so the hard question stopped being whether you can get into an engine. it is what you do once you are standing in three of them at once one layer was read out of a binary one came through the front door one was never touched at all, and it still had to land right

Roxx

195,977 views • 16 days ago