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?
After seeing many other videos, I finally understand git reset thanks to this video 🐵👍🏻
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
Thanks alot,I was struggling to understand the basics of these git commands,this video is very helpful
Glad it was helpful
Sir, your videos are very helpful and easy to understand. Thanks.
Glad to hear that
the conceptual explanation is gold. 2 years have passed and it didn't add wrinkles on the explanation. thanks.
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
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.
Well explained on git revert and git reset for freshers
Thank you
contact us online classroom training's & project support please contact phone number +919886611117
Excellent explanation, way better than some courses sold on Udemy. Awesome, two thumbs up!
Awesome clear explanation. Thanks buddy for this video.
Glad it was helpful!
This is the PERFECT tutorial! Thank you 🙏!
You are so welcome!
wow! this was so easy to understand. i love your concise and accurate way of teaching with examples
Glad it was helpful!
Nice video. It was very helpful...Thank you...
Glad it was helpful!
You are unimaginably good ❤
Thank you, Keep watching
Thank you so much for amazing video, pls continue with others as well
Excellent explaination!
You explained this in a very understandable way. Just loving the videos
Awesome, 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.
You made it so easy !
Super class sir
Thks bro, indian teachears are good.
It's my pleasure
simple and superb...
Thanks a lot
Thank you sir , I'm your fan
Thank you
easy to understand step by step, thank you
You are welcome!
Crystal clear explanation. Thanks.
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
wow. thank you.. this is perfect for me hahha... thank you again.. salam from indonesia
You're welcome!
Mind blowing session. Simple delivery but superb. Thanks Sir.
Great video with awesome examples!
Nice video! Clearly and organized !
Very well explained
Explanation is super... Agree with me....
Nice explanation
Keep watching
Superb 👌 very clear
Thank you 🙂
Thanks... very well explanation
You are welcome, please subscribe and share
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
simple and understandable!
Very nice explained
Thank you for the explanation.
You are welcome!
Thank you sir... It's a awesome session... Understood very nicely...
Nice explainnation
Clean explanation 👍
Glad you liked it
thank you and you are nice
Most welcome 😊
Thank you very much 🙏🙏
You're most welcome
NIce explanation :)
Nice one!
Difference b/w soft and mixed reset?
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?
thanks
Thanks !
Welcome!
does revert command undo changes in the remote repository incase if i accidentally push the changes ?
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.
Thank you
Sir any of your git Course ? on Udemy ?
not right now
when i make revert command, it will have "could not revert ... " error, help me
You did not show the file that has been changed in working area!!!!
great! thanks! like and subscribe! :-)
Still soft reset is not clear
Thank you very much