Git bisect tutorial. How to find a bad bug commit.

  Рет қаралды 26,600

Ihatetomatoes

Ihatetomatoes

Күн бұрын

Learn how to use git bisect to find a bad commit.
What you will learn in this Git bisect tutorial:
what is git bisect
how to start the investigation
how to mark commits as good or bad
how to revert git commit
What else would like to learn about Git? Let me know in the comments.
-- Online Courses --
Learn React
ihatetomatoes....
SUBSCRIBE
/ @ihatetomatoes
LET'S CONNECT!
-- ihatetomatoes....
-- / ihatetomatoesblog
-- www.google.com/...
Petr Tichy
-- plus.google.co...
-- / ihatetomatoes

Пікірлер: 53
@Nellak2011
@Nellak2011 2 жыл бұрын
I love this feature! I just used it for the first time to find a bad commit. Luckily I push commits frequently, so that when I found it I saw a description of the change I made so I could easily narrow it down! It saved me so much time of debugging!!
@pheisar
@pheisar 4 жыл бұрын
Love the format of this series. Thank you!
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks a lot!
@Scott_Stern
@Scott_Stern Жыл бұрын
Thanks for going through this. Awesome explanation. Gonna try and find something at work to use this on. Super helpful with tests as well.
@Zeioth
@Zeioth Жыл бұрын
Thank you for being so concise.
@akasharojee8569
@akasharojee8569 3 жыл бұрын
Quick helpful example. Thanks.
@usmansbk
@usmansbk 3 жыл бұрын
Eat your veggies, young man! Nice Video
@khushnoodhussain1541
@khushnoodhussain1541 Жыл бұрын
thank you so much for the easy explanation.
@RandomAlexus
@RandomAlexus 3 жыл бұрын
so practical and straight to the point
@yannic8344
@yannic8344 2 жыл бұрын
Thank you for the straight forward tutorial
@regissmukubiza6350
@regissmukubiza6350 2 жыл бұрын
You're the best. it's more than clear
@ВячеславКузнецов-ф6ы
@ВячеславКузнецов-ф6ы Жыл бұрын
great explanation, thank you
@Yuniac
@Yuniac Жыл бұрын
Thank you for the helpful video
@huseyinbarin1653
@huseyinbarin1653 3 жыл бұрын
very clear explanation. Thanks, body.
@bissallahekele5320
@bissallahekele5320 3 жыл бұрын
You're blowing my mind
@NtiyisoRikhotso
@NtiyisoRikhotso Жыл бұрын
Simplified, thanks!
@nextstudiodev
@nextstudiodev 3 жыл бұрын
Worked like a charme! Thank you for this!
@GomathinayagamN
@GomathinayagamN 2 жыл бұрын
Thank you! I find it very useful!
@obonyoemmy
@obonyoemmy 3 жыл бұрын
Great tutorial. What's the beef with tomatoes though? :)
@gracianomanuelhenrique9101
@gracianomanuelhenrique9101 Жыл бұрын
Awesome video Happy coding
@ananddeepsingh
@ananddeepsingh 4 жыл бұрын
what will happen if I have some changes in latest commit for some other features and issue found in commit 2. Will it keep my latest changes and append commit 2 which was working code for animation? Please guide
@luiswebdev8292
@luiswebdev8292 2 жыл бұрын
Nice tut
@benjaminodriscoll8692
@benjaminodriscoll8692 2 жыл бұрын
Great series thank you
@paulkevinkoehler9490
@paulkevinkoehler9490 4 жыл бұрын
Very nice. Thanks, Petr 😎
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thanks Paul!
@fullstackprojects5615
@fullstackprojects5615 3 жыл бұрын
I love tomatoes
@LeandroCoutinho
@LeandroCoutinho 3 жыл бұрын
Excellent sir!
@JosephLKausi
@JosephLKausi Жыл бұрын
thank you bro
@MattAlizadeh-b9k
@MattAlizadeh-b9k 3 ай бұрын
How to make that colorful git-aware command prompt in VScode?
@shilparani9080
@shilparani9080 4 жыл бұрын
It's such an amazing video :D It reminds me of the Leetcode First Bad Version question :P
@ayansarkar6322
@ayansarkar6322 3 жыл бұрын
I am doing git bisect good commitID4 but It will switch to another commit. Can you explain me the reason?
@kingjosaphatchewa9804
@kingjosaphatchewa9804 3 жыл бұрын
Thanks a lot.
@yurypapeka
@yurypapeka 4 жыл бұрын
Could you tell what does prettify your terminal for git?
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
That is ohmyzsh: github.com/ohmyzsh/ohmyzsh
@Massimus888
@Massimus888 2 жыл бұрын
Thanks! Why did you use 'git revert'? Wouldn't it be better to use 'git rebase -i' and edit the original commit where the error happened. This would produce a simpler commit history.
@salendarsinghgaud927
@salendarsinghgaud927 2 жыл бұрын
What if there is a merge commit that is bad commit. How we can bisect that merge commit?
@eduardoauditore5414
@eduardoauditore5414 3 жыл бұрын
How can I configure my terminal console to look like yours? to have those colors and indicates that you are bisecting your code, because when I run that command nothing indicates that I'm bisecting
@Darkar9545
@Darkar9545 3 жыл бұрын
use gith bash if you are on windows, it wont look the same, but at least it will tell you that you are doing bisect
@centrist3684
@centrist3684 3 жыл бұрын
Not sure why I don't see a change in branch name when I do git bisect start, but otherwise works well
@chrisaga6253
@chrisaga6253 3 жыл бұрын
Starts at 2:21
@blackbeltnet_flix9217
@blackbeltnet_flix9217 Жыл бұрын
🤣🤣 Time is limited,, no time for intros
@skarmoutsosv
@skarmoutsosv 3 жыл бұрын
Paused watching just after few seconds just to comment: Voice and lips are not in sync, voice is clear but uncomfortable, feels like too much edited (maybe lower frequencies have more gain than what they should). After viewing to the end, I have to admit that the subject was well explained. Thank you.
@Ihatetomatoes
@Ihatetomatoes 3 жыл бұрын
Thanks for the heads up. I will take that on board. Great to hear that the content was useful. Cheers
@malharjajoo7393
@malharjajoo7393 2 жыл бұрын
git bisect run is even more helpful
@shirshendudebroy2097
@shirshendudebroy2097 4 жыл бұрын
simply amazing...
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Thank you!
@jamesguo222
@jamesguo222 4 жыл бұрын
Wow, magic.
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Love your feedback! Keep it up.
@jamesguo222
@jamesguo222 4 жыл бұрын
@@Ihatetomatoes about how we have Thomas?
@TheNewton
@TheNewton 4 жыл бұрын
Need a way to find bad thumbnail typos with git
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Haha, oops. Good catch Paul, thanks for the heads up. I think there is a command for that "git tn --fix" :)
@eulnordiste1
@eulnordiste1 4 жыл бұрын
u look like moby
@eulnordiste1
@eulnordiste1 4 жыл бұрын
u look like moby
10 Must Know Git Commands That Almost Nobody Knows
15:22
Web Dev Simplified
Рет қаралды 96 М.
Git rebase tutorial. Rebase vs Merge
7:48
Ihatetomatoes
Рет қаралды 101 М.
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 104 МЛН
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 5 МЛН
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 126 МЛН
How to undo your changes in Git? Git reset
12:27
Ihatetomatoes
Рет қаралды 26 М.
You MUST use this (amazing) Git Command
2:46
typecraft
Рет қаралды 9 М.
13 Advanced (but useful) Git Techniques and Shortcuts
8:07
Fireship
Рет қаралды 923 М.
How to use Git inside of VSCode - 2020
12:14
Ihatetomatoes
Рет қаралды 252 М.
Git stash tutorial. How to save changes for later in git.
7:00
Ihatetomatoes
Рет қаралды 43 М.
Never* use git pull
4:02
Philomatics
Рет қаралды 540 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,2 МЛН
Git Bisect | How to use Git Bisect | Learn Git
5:05
GitKraken
Рет қаралды 14 М.
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 104 МЛН