Git Tutorial 5: Undoing/Reverting/Resetting code changes

Опубликовано: 23 Август 2024
на канале: codebasics
244k
2k

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

Do you want to learn technology from me? Check for my affordable video courses.

Git Tutorial:

Next Video:
Git Tutorial 6: Branches (Create, Merge, Delete a branch):

Machine Learning Tutorial With Python:

My Website For Video Courses:

Need help building software or data analytics and AI solutions? My company can help. Click on the Contact button on that website.

Facebook:
Twitter: