Git rest & revert deep dive | Git revert vs reset Demo | Git tutorial | Java Home Cloud

Published: 25 March 2023
on channel: Java Home Cloud
9,190
176

Register for Online Training 👉 https://bit.ly/3vuBQqb

Git revert and git reset are two Git commands used to undo changes in a Git repository, but they work differently.

Git revert is a command that creates a new commit that undoes the changes made by a previous commit. It is a safe way to undo changes in Git, as it does not modify the commit history. Instead, it adds a new commit that contains the opposite changes to the ones in the commit you want to undo. This means that the commit history is preserved and that you can revert the revert later if you need to.

Git reset, on the other hand, is a command that modifies the commit history by moving the branch pointer to a previous commit. It allows you to discard changes made after a specific commit and to reset the repository to that commit's state. This means any commits made after the reset commit will be removed from the repository's commit history.

📞 WhatsApp Us: https://wa.me/+919886611117
Instagram   / javahomecloud  
LinkedIn   / javahomecloud  
Website 👉 https://javahome.in/

✨ Popular Playlist ✨
AWS Lambda, Python & Boto3 👉 https://shorturl.at/brx69
Terraform FAQs 👉 https://shorturl.at/fuILT
Jenkins Tutorial 👉 https://shorturl.at/CKR37

🏛️ Courses Offer By Java Home Cloud 🏛️
Courses offered 👉 https://bit.ly/457HlHc

📹 Udemy Courses 📹
Terraform 👉 https://t.ly/eEv1x
Boto3 👉 https://t.ly/IOZIm
AWS CloudFormation 👉 https://t.ly/fenbh
Jenkins 👉 https://bit.ly/48lDI34

Subscribe to my Channel    / @javahomecloud  


Watch video Git rest & revert deep dive | Git revert vs reset Demo | Git tutorial | Java Home Cloud online without registration, duration hours minute second in high quality. This video was added by user Java Home Cloud 25 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,190 once and liked it 176 people.