Git Tips: How to Undo Pushed Commits || ForTheGeeks

Опубликовано: 18 Март 2026
на канале: For the Geeks
71
1

Hey YouTube Lovers,

✤ Welcome to “ForTheGeeks” ✤

In this video, we will talk about how to revert after you have actually committed to local repository and then pushed it to central repository as well. There are instances where you realise that you pushed unwanted changes to central repository and then want to revert .I will explain this scenario with an example too like in all my previous videos.

Command used
1) git reset --hard ...commit number... // where commit number is the number where i want to revert to
2) git clean -f -d
.

This video is part of my "Azure DevOps Tutorial". The idea of the whole tutorial is to make you understand what DevOps is and what problems
it's trying to solve. At the end of the tutorial, I reckon you will have good understanding of Azure DevOps and would be ready to explore more (as learning never ends).

This whole tutorial will also help you in clearing Azure DevOps (AZ-400) certification as it covers most of the important topics. (Please note : NOT all topics of AZ-400 certification but MOST)

🔰 Topics that we will learn:
What is Azure DevOps
Managing Tenant
Source Control
CI
CD

I created a separate video where I explained my experience on AZ-400 certification. Link to that video below:

🎬    • Azure DevOps Beginner to Expert Tutorial |...  

I hope you found this video helpful and if you did please give me a thumbs up and don’t forget to subscribe to my channel. Channel link below
YTC link- https://www.youtube.com/c/ForTheGeeks...

Also I write blogs on many technical and programming languages.
✔ follow my blogs below
🌐 blogs - www.manjustechblog.com
🌐 Medium -   / vnmshenoy  
==============================================

Watch my previous videos

🔰 How To Delete Azure AD Tenant - The Easy Way || ForTheGeeks

🎬    • How To Delete Azure AD Tenant - The Easy W...  

🔰 What is Continuous Deployment in Azure and a Quick CICD for Web Apps Tutorial

🎬   • What is Continuous Deployment  in Azure an...  

🔰 How to implement Azure DevOps For Continuous Delivery

🎬    • How to Implement Azure DevOps for Continuo...  

🔰 How to implement Azure DevOps For Continuous Delivery

🎬    • Basics on how and why to use cost manageme...  

==============================================


#ForTheGeeks #AzureDevopsTutorial #azuredevopsExplained #WhyDevOps #WhyAzureDevops #AzureRepos #ContinuousIntegration #ContinuousDeployment #azure #devops #forthegeeks #devopsexplainedforthegeeks #forthegeekstutorial #azuredevopsexplainedforthegeeks #AzureDevOpstutorial #devopswithforthegeeks #learndevopsforthegeeks #azuredevopsexplained #forthegeeksazure #devopsforthegeeks





🔰 Note
Please note that the views expressed are mine alone.