How to UNDO / REVERT a PUSHED COMMIT in GIT - 2 Ways - Which One Suits Your Needs?

preview_player
Показать описание
#revertpushedcommit #git #gitrevert

0:00-0:35 Intro.
0:38-1:30 Option #1: git revert (public branches)
1:39-2:26 Option #2: git reset (private branches)
2:26-2:36 Conclusion
Рекомендации по теме
Комментарии
Автор

This was the EXACT instruction that I needed. Perfect. You saved the day! thank you :)

simplehonestmusic
Автор

This tutorial was a big help for me today. Thank you!

ylingram
Автор

Thank you very much, helped me better than most other solutions

wdvnuxq
Автор

Thanks... this was that I needed. I am grateful

thaylivillegas
Автор

Esse procedimento era o que me faltava para salvar meu trabalho. Obrigado

mbz
Автор

Great Video, as simple as it can get.

Vikashkumar-ecfl
Автор

thank you for helping telling both the methods

NiteshMaurya
Автор

Amazing and simple, saved me just when needed

Seize_The_Data
Автор

This video is really helpful for me Thank you so much

shubhamverma
Автор

Thank you for the video saved a lot of time

saisanthosh
Автор

Awesome tutorial. Your explanation was aweome. but if you add more explanation, like say one line for what HEAD~1 does and also another option of reverting by specific commit ID, it would be awesome.

PRAXYBEATS
Автор

Thank you. You saved my ass in the 11th hour.

awillpapa
Автор

thank you, your tutorial totally helpful 👍👍👍👍👍👍👍👍

freedomoflife
Автор

Great Tutorial, to the point no beating around the bush. Thanks👌👌

justawesome
Автор

Thanks you so much! But this is the latest pushed commit to revert. What if I want to choose a certain pushed time to revert?

hieuFGG
Автор

It is possible to delete particularlly one commit like 18th commit from all commits.

sathishp
Автор

Cool, but how did you configure git to use vscode to edit your commit message rather than VIM?

brotendo-wfhb
Автор

I love youj so much thank you you just saved my life saved my grades saved my github repo saved my stress my mental health the overwhemling insults i wouldve gotten from my instructor and my will to die

aeroslothy
Автор

git reset --hard HEAD~1 to reset one commit
git push -f origin main to make those resets changes into your main branch

wc