Remove a git commit which has not been pushed. How to revert a commit from Master branch

preview_player
Показать описание
Remove a git commit which has not been pushed. How to revert a commit from Master branch
.
.
Sometimes you accidentally do a commit on master branch and doing a commit to master branch is not ideal. So here is the small trick to revert the commit
.
.
Subscribe to @simplelearning5093 for such content
.
.
#shorts #viralshorts #javascript #react #vscode vs
Рекомендации по теме
Комментарии
Автор

Thanks it helped me yo solve issue within 5 seconds 👍

ShradhaLewis-hidm
Автор

I did commit and push also, could you please help me how to revert it back

tinkusolo