Git Tutorial 5: Undoing/Reverting/Resetting code changes

26
5



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

Git Tutorial:

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

Machine Learning Tutorial With Python:

Website:
Facebook:
Twitter:
Patreon:

git revert tutorial, git revert, git revert changes, git revert commit, git reset, git reset hard, git undo, git reset tutorial, git tutorial, git tutorial windows, git tutorial for beginners, git commads tutorial, learn git, git concepts, github tutorial, github tutorial for beginnersgit revert commit after push, github, git revert commit after push, git commit, git push, git revert to specific commit, git revert to commit, git revert merge

Xem Thêm Bài Viết Về Mobile Khác: https://sealsystem.org/mobile

Nguồn: https://sealsystem.org/

26 COMMENTS

  1. Step by step guide on how to learn data science for free: https://www.youtube.com/watch?v=Vn_mmOuQkSA

    Full python course: https://www.youtube.com/playlist?list=PLeo1K3hjS3usILfyvQlvUBokXkHPSve6S

    Machine learning tutorials with exercises:

    https://www.youtube.com/watch?v=gmvvaobm7eQ&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw

  2. One of the best Git tutorials. It was easy to follow and straightforward which for some reason most Git tutorials lack. After I did a $git reset –hard and then tried to push I got this message: hint: Updates were rejected because the tip of your current branch is behind. Is there like a force push?

LEAVE A REPLY

Please enter your comment!
Please enter your name here