6.3 Amending and Reverting Commits | Git and GitHub Hero to Zero Crash Course - [Hindi]

Опубликовано: 31 Октябрь 2024
на канале: Learn Pain Less
31
1

🚀 Welcome back to our "Git and GitHub Hero to Zero Crash Course" series! In this episode, we're diving into advanced Git techniques by exploring how to amend and revert commits. These skills are invaluable for maintaining a clean commit history and recovering from mistakes gracefully.

Here's what we'll cover in this video:

1️⃣ Amending Commits: Learn how to make changes to your most recent commit using the git commit --amend command. We'll show you how to edit the commit message, add forgotten changes, or split your changes into multiple commits.

2️⃣ Interactive Rebase: Dive into the power of interactive rebasing to edit, squash, or reorder commits in your branch. You'll gain fine-grained control over your commit history.

3️⃣ Reverting Commits: Discover how to gracefully undo changes by reverting commits using the git revert command. We'll demonstrate the process of creating a new commit that undoes the changes introduced by a previous commit.

4️⃣ Resetting Commits: Explore the git reset command and its various options for moving branches and resetting the commit history. We'll cover both soft and hard resets and when to use them.

5️⃣ Best Practices: Throughout the video, we'll share best practices and scenarios where amending and reverting commits are essential skills for maintaining a clean and functional codebase.

By the end of this video, you'll be equipped with the skills to edit, amend, and revert commits effectively, making you a more confident and capable Git user.

👍 If you find this video helpful, please give it a thumbs up, subscribe to our channel for more in-depth tech tutorials, and hit the notification bell to stay updated with our latest content. Share this video with your fellow developers, and let's become Git and GitHub pros together!

Git and Github Hero to Zero Crash Course Notes (Google Drive Link)
https://learnpainless.page.link/git-c...

#GitAmend #GitRevert #InteractiveRebase #VersionControl #SoftwareDevelopment #CodingCrashCourse #LearnToCode #TechTutorials #DevelopmentTools #CodeCollaboration

Hello friends, I m #Pawneshwer #Gupta, #FullStackDeveloper. And recently I noticed that many developers are shifting from Android and iOS to Flutter. So I decided to make video series on Flutter so I can help you all.

About #ProlongServices, initially I built this website to do the paid task (like #SoftwareDevelopment, #WebDevelopment, etc.), but after that, I started to teach other users, so I can help them grow. And I will make videos on other topics as well.
Thank you for watching it.
---------------------------------------------------------------------
Some other videos:
AppBar underneath main content - Custom appbar in flutter
   • AppBar underneath main content - Cust...  

How to Fetch preview of link in flutter
   • How to Fetch preview of link in flutter  

How to greyscale a widget in flutter. (make any flutter widget look like disabled state)
   • How to grayscale a widget in flutter....  

How to make Custom Dialog in flutter (Replace your boring AlertDialog with Attractive custom dialog)
   • How to make Custom Dialog in flutter ...  

---------------------------------------------------------------------
Searched Queries:
git amend
git amend commit
git amend a commit
git commit amend
git amend commit message
amend in git
git amend command
git amend last commit
git amend last commit message
git amend specific commit
git amend previous commit
git amend no edit
git revert
git revert commit
git revert a commit
git revert last commit
git revert the last commit
git revert head
git revert command
git revert to specific commit
git revert to previous commit
git revert previous commit
git revert add
git revert merge
git revert a merge
git revert commit after push
git revert merge commit
git revert a merge commit
git revert a commit after push
git revert local changes
git revert a file
git revert file
git revert vs git reset
git revert commit before push
git reset
what is git reset
git reset command
git reset commit
git reset vs revert
---------------------------------------------------------------------
Social Links:
YouTube:    / @learnpainless  
Facebook:   / prolongservices  
Twitter:   / prolongservices  
LinkedIn :   / prolong-services  
Github: https://github.com/prolongservices
Instagram:   / prolong.services  
Website: https://prolongservices.com/
Reddit:   / prolongservices  
Tumblr: https://www.tumblr.com/blog/prolongse...
Telegram Channel: https://t.me/ProlongServices_Dev
---------------------------------------------------------------------
Contact Info:
Business Email: [email protected]
Support Email: [email protected]
Whatsapp: +91 9501784647