Using Git Bisect

  Рет қаралды 29,463

Andy Van Slaars

Andy Van Slaars

Күн бұрын

Пікірлер: 40
@SaschaRissling
@SaschaRissling 4 жыл бұрын
this is hands down one of the best tutorials i've ever seen. simple, straight forward, just as much context as needed. thank you
@Rhoso7
@Rhoso7 6 жыл бұрын
Short, digestible, and sweet. Ty
@kevinlong4657
@kevinlong4657 5 жыл бұрын
Thanks for this . Bisect is one of those things I’ve seen but really had no idea what it did . Quite easy to understand with you explanation.
@hansbrackhaus8017
@hansbrackhaus8017 Жыл бұрын
Thank you for valueing my time, and the time of everyone else.
@MurciSV
@MurciSV 3 жыл бұрын
Thank you for this. Simple and straight to the point, yet fully comprehensive.
@danieladesanya5374
@danieladesanya5374 2 жыл бұрын
very straightforward and well-explained, welldone and thank you
@RichardHoogstad
@RichardHoogstad 6 жыл бұрын
Just what I need it, thanks for sharing and good compact description on how to get this to work
@howarddo618
@howarddo618 Жыл бұрын
I just use bisect today on my job, thank u for the guide!
@ahmedam77
@ahmedam77 8 жыл бұрын
It's the first time I know the usage of that command Thank you so much for your time and efforts :)
@AndrewVanSlaars
@AndrewVanSlaars 8 жыл бұрын
So glad you found this helpful! I remember when I first discovered this... I actively looked for old, low priority bugs to track down and fix :)
@jackkendall6420
@jackkendall6420 3 жыл бұрын
This is what every explanatory video on youtube should be like
@hectorordonez3464
@hectorordonez3464 2 жыл бұрын
Great way to explain the use of git bisect, thank you!!!!
@just_morby
@just_morby 9 ай бұрын
top tier explanation and guide thank you for this!
@Dehhloki
@Dehhloki 5 жыл бұрын
Very good Andrew, thanks for sharing! ❤
@hetroxity
@hetroxity Жыл бұрын
whooah bro thank you so much .. i was stuck with this school project ..you came in handy..Godbless from kenya bro
@malharjajoo7393
@malharjajoo7393 6 жыл бұрын
It is important to understand here that this assumes the commits (within the specified range, by the user) are ordered as: [ good, good, good, ......, bad, bad, bad ] otherwise the logic will not make sense. The standard binary search algorithm assumes that inputs array is sorted according to some way such that search space can be halved (by interactively asking "yes" or "no").
@Knight_Alonne
@Knight_Alonne Жыл бұрын
Well explained, to the point explaintion 👍
@AndroidandTechSolutions
@AndroidandTechSolutions Жыл бұрын
Excellent explanation!! Keep it up. Thanks a lot the video 😊
@RogerBarraud
@RogerBarraud 4 жыл бұрын
Good, concise tutorial - Thanks!
@yash1152
@yash1152 Жыл бұрын
1:37 can it be used in reverse scenario? that the initial commit is bad, and latest one if good, and you want to find out which commit fixed the issue? i mean yeah, if you intentionally and consistenly give the negated answers, then ofcourse yes. but i am asking for automatically
@sagarajayathilaka
@sagarajayathilaka 2 жыл бұрын
Great video, Thanks a lot.
@daephx
@daephx 6 жыл бұрын
Seems extremely useful but might take some time for me to wrap my head around it.
@Develoquent
@Develoquent 4 жыл бұрын
How can i get to the top of the working tree? git bisect start says i need to..
@talkohavy
@talkohavy 2 жыл бұрын
What does it mean "put us back into a good working state"? Is it like a hard reset? Or a soft reset? Because what if that bad commit contained some good stuff in it? Or what if the commits that followed it had some good stuff in it? Thank you for the video.
@AndrewVanSlaars
@AndrewVanSlaars 2 жыл бұрын
You end up in a detached head state. Being back in a working state here means you are put back where you started. This process is only to identify a branch, it doesn’t do anything to mitigate the problem. You learn the commit that introduced the problem and from there it’s up to you to figure out the specifics and decide how to fix it.
@talkohavy
@talkohavy 2 жыл бұрын
@@AndrewVanSlaars Got it! Thanks for that :) Very very useful tool then. I never used it out of fear it would do the mitigations for me. Good to know!
@renilbabu7181
@renilbabu7181 7 жыл бұрын
This is awesome.
@bernardleech5007
@bernardleech5007 5 жыл бұрын
For oh-my-zsh, you can use these aliases: gbs = git bisect gbss = git bisect start gbsg = git bisect good gbsb = git bisect bad gbsr = git bisect reset
@AndrewVanSlaars
@AndrewVanSlaars 5 жыл бұрын
Awesome! I’ll have to commit (no pun intended 🙂) those to memory!!
@Eviloves
@Eviloves 6 жыл бұрын
Cool trick, i liked it! thank you very much!
@rockrollandfunk2691
@rockrollandfunk2691 2 жыл бұрын
Why did you run more tests... Were you looking to verify how many versions contained the bug?
@AndrewVanSlaars
@AndrewVanSlaars 2 жыл бұрын
Each time I provided feedback, it checked out another commit so I tested and provided feedback so it could determine the commit with the bug. I did a couple iterations in the video without narrating it to avoid the video being too repetitive. Sorry if that made something unclear.
@rickvian
@rickvian 3 жыл бұрын
this is so powerful
@fiddling_tech2150
@fiddling_tech2150 2 жыл бұрын
Thank you!
@amitbansal7754
@amitbansal7754 Жыл бұрын
So good.
@jamesmorgan4397
@jamesmorgan4397 3 жыл бұрын
great thanks!
@grainfrizz
@grainfrizz 5 жыл бұрын
Super awesome
@parasite6731
@parasite6731 4 жыл бұрын
Do you know, your video is being used in the corporate training.
@AndrewVanSlaars
@AndrewVanSlaars 4 жыл бұрын
I didn’t know that, but it’s on KZbin for people to learn, so I think that’s great!
@antwanwimberly1729
@antwanwimberly1729 Жыл бұрын
Wan 🇮🇱 France 🇫🇷
Git bisect tutorial. How to find a bad bug commit.
7:12
Ihatetomatoes
Рет қаралды 26 М.
Git bisect is insanely good (and so easy)
4:00
Joshua Morony
Рет қаралды 92 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 37 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 54 МЛН
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 131 М.
10 Must Know Git Commands That Almost Nobody Knows
15:22
Web Dev Simplified
Рет қаралды 96 М.
GIT Fast Forward Visualized
8:25
A shot of code
Рет қаралды 9 М.
Learn Git - The Full Course
4:20:00
Boot dev
Рет қаралды 86 М.
Git MERGE vs REBASE: Everything You Need to Know
4:34
ByteByteGo
Рет қаралды 458 М.
Be more productive with git checkout --patch
6:08
Andy Van Slaars
Рет қаралды 7 М.
You MUST use this (amazing) Git Command
2:46
typecraft
Рет қаралды 9 М.
13 Advanced (but useful) Git Techniques and Shortcuts
8:07
Fireship
Рет қаралды 931 М.
Resolve Git MERGE CONFLICTS: The Definitive Guide
8:02
The Modern Coder
Рет қаралды 51 М.
Stow has forever changed the way I manage my dotfiles
8:09
Dreams of Autonomy
Рет қаралды 269 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 37 МЛН