Git Tutorial 5: Undoing/Reverting/Resetting code changes

preview_player
Показать описание
In this tutorial, we will cover how to undo or revert a code change. Also I will show you how to reset your git branch to any previous commit id.
Here are the topics we will conver in this git tutorial,
1) Undo uncommited changes using,
git checkout --
2) Undo commited changes using,
git revert
3) Resetting changes using,
git reset

Next Video:

Рекомендации по теме
Комментарии
Автор

Machine learning tutorials with exercises:

codebasics
Автор

Really love your class. I was very much confused while learning Git, but you made it very easy. Keep doing this great work

mubarakl
Автор

Exactly what I was looking for, thanks!

carolinebuttet
Автор

So simple, so understandable and with the Indian accent that switches the brains into learning mode. Thank you!

fshvdko
Автор

This tutorial is so helpful. Thank you for explaining it, so beautifully . Very straightforward and on point.

architapatnaik
Автор

A very technical term committed in very simple words...great job.

skkkks
Автор

Thank you. Very good tutorial and up to the point.

NomadicDmitry
Автор

you are good at teaching please keep it up :)

MrChubib
Автор

Yes you saved me ! I didn't know how to revert changes now I easly know how to! thanks :)

urigross
Автор

Nice and simple explanation. I subscribed to your channel.

ibknl
Автор

Thank you so much for this video. You earned a Like, Comment, and a new subscriber thanks a mill.

ananiashaimbondi
Автор

Nice 80's erotic films music. And thanks for the video. :)

TrollAxeThrower
Автор

I love to watch ur videos. Kindly create CI/CD video and also on docker series.

zohaibramzan
Автор

Its very helpfull. Thank you for such a clear explanation about git options.

HemachandhiranHarimoorhty
Автор

Thanks man for these understandable tutorials

morrismwas
Автор

This helped me lot thanks

For the moment I was like God now I am dead then I did git reset --hard HASH. Saved me 😁

pawandeore
Автор

u saved my files.. thank you mr good indian teacher

norulshahlamjohn
Автор

Its easy to learn git by watching your videos

vinodpasi
Автор

Hi, this was helpful. But after executing command "git reset --hard 'id' ", changes I can see in my local machine. It's not affected in my server repository.

pauljyotika
Автор

Dear Dhaval, Thank you very much for all your efforts and time.

codingnmath