This is the type of video you don't even have to ask for likes, subscribes etc, coz you know that's gonna happen automatically. Btw awesome explanation, it was simplest by far on internet.
Thanks It is nice explantions Summary: You modify your code -> You add your code to working area by git add . command then you add file to staging area(or index area) by git commit -m ''Commit Message ' then you push the code Soft - It doesn't touch the staging area & working area. Mixed - It removes the commit id & reset your staging area & don't touch the working area Hard - Delete all staging & working area. Revert - Revert you changes in remote repo & create a new commit id.
for people who are getting confuse between hard, soft and mix. simple: --soft: it will just remove the index (hashcode) of the commits but it keeps the changed files in both working and stagging area. mix: it is the default one where it will not only remove the index of the commits but also removes the files in stagging area but keeps them in working area use git status to understand it more clearly where as --hard: it will remove the index, files in both stagging and working area( it is very dangerous ).
13:52 - How do you confirm this revert operation? I get literally stuck on this screen, not knowing how to exit this menu and enable changes 🤦♂What button do you press?
🌟 Welcome to Java Home Cloud 🌟
Register for Online Training 👉 bit.ly/3vuBQqb
javahome.in
After seeing many other videos, I finally understand git reset thanks to this video 🐵👍🏻
Well explained on git revert and git reset for freshers
Thank you
I mistakenly pushed a commit to remote, didn't knew what to do, this video saved my life.Thank man
Bro what u did? Can you please explain once....
Well Explained🤩
git checkout= 0:31
git reset = 3:17
git revert = 11:28
the conceptual explanation is gold. 2 years have passed and it didn't add wrinkles on the explanation. thanks.
Glad it was helpful!
Thanks alot,I was struggling to understand the basics of these git commands,this video is very helpful
Glad it was helpful
This is the type of video you don't even have to ask for likes, subscribes etc, coz you know that's gonna happen automatically.
Btw awesome explanation, it was simplest by far on internet.
Thanks for that
@@JavaHomeCloud Sir Please make git full tutorial on youtube
Sir, your videos are very helpful and easy to understand. Thanks.
Glad to hear that
Thanks It is nice explantions
Summary: You modify your code -> You add your code to working area by git add . command then you add file to staging area(or index area) by git commit -m ''Commit Message ' then you push the code
Soft - It doesn't touch the staging area & working area.
Mixed - It removes the commit id & reset your staging area & don't touch the working area
Hard - Delete all staging & working area.
Revert - Revert you changes in remote repo & create a new commit id.
Awesome clear explanation. Thanks buddy for this video.
Glad it was helpful!
Excellent explanation, way better than some courses sold on Udemy. Awesome, two thumbs up!
Super class sir
Nice video. It was very helpful...Thank you...
Glad it was helpful!
wow! this was so easy to understand. i love your concise and accurate way of teaching with examples
Glad it was helpful!
Nice explanation
Keep watching
Thank you so much for amazing video, pls continue with others as well
Very well explained
simple and superb...
Thanks a lot
Excellent explaination!
This is the PERFECT tutorial! Thank you 🙏!
You are so welcome!
You are unimaginably good ❤
Thank you, Keep watching
Thks bro, indian teachears are good.
It's my pleasure
You explained this in a very understandable way. Just loving the videos
Awesome, thank you!
Superb 👌 very clear
Thank you 🙂
Dear Sir, Your all videos are simple, crystal clear, practical ... good for folks to brush up all for interview.
Thanks a lot.
Very well articulated and explained.
Your way of teaching is awesome. Makes things very simple. Thanks a lot.
Very nice explained
Great video with awesome examples!
You made it so easy !
Thank you sir , I'm your fan
Thank you
for people who are getting confuse between hard, soft and mix. simple: --soft: it will just remove the index (hashcode) of the commits but it keeps the changed files in both working and stagging area. mix: it is the default one where it will not only remove the index of the commits but also removes the files in stagging area but keeps them in working area use git status to understand it more clearly where as --hard: it will remove the index, files in both stagging and working area( it is very dangerous ).
What will happen if we do hard reset after pushing commit in git repository?
If we do revert the last commit after pushing it in git....can we push it normally or by force push
Nice video! Clearly and organized !
Mind blowing session. Simple delivery but superb. Thanks Sir.
Crystal clear explanation. Thanks.
easy to understand step by step, thank you
You are welcome!
wow. thank you.. this is perfect for me hahha... thank you again.. salam from indonesia
You're welcome!
Explanation is super... Agree with me....
Over all its a great explanation, one doubt was let's say we have 10 commits in the remote , by using git revert shall I revert the 8 commit
Thank you for the explanation.
You are welcome!
simple and understandable!
Thanks... very well explanation
You are welcome, please subscribe and share
Nice explainnation
Clean explanation 👍
Glad you liked it
thank you and you are nice
Most welcome 😊
Nice one!
Difference b/w soft and mixed reset?
Thank you sir... It's a awesome session... Understood very nicely...
13:52 - How do you confirm this revert operation? I get literally stuck on this screen, not knowing how to exit this menu and enable changes 🤦♂What button do you press?
does revert command undo changes in the remote repository incase if i accidentally push the changes ?
NIce explanation :)
thanks
Thank you very much
Thanks !
Welcome!
contact us online classroom training's & project support please contact phone number +919886611117
Thank you
I wish I watched this video first. But odd that checkout is also used to switch branches. Git has changed and checkout doesn't work like this anymore.
I am fresher , I know python language. Pls suggest me how may I proceed in my career in devops n git. Thanku for your tutorial.
when i make revert command, it will have "could not revert ... " error, help me
Sir any of your git Course ? on Udemy ?
not right now
You did not show the file that has been changed in working area!!!!
Still soft reset is not clear
great! thanks! like and subscribe! :-)
Thank you very much 🙏🙏
You're most welcome