Git is a very powerful tool as we all know but if we are not careful while using it, we might get into a lot of trouble.
"git reset --hard" is such a command that can prove fatal and reset your entire repository if you are not cautious.
So, In this tutorial, I will show how you can get back the lost files and changes you have done, because of a hard reset.
Git stores information about all the files and modifications you have done every time you do a "git add" or "git commit". So, We will use that information to fetch these changes back.
We will use "git fsck" and "git reflog" to accomplish these tasks.
Don't forget to SUBSCRIBE, COMMENT, LIKE
LET'S GET IN TOUCH!!!
Twitter : / durgaswaroop
Google+ : https://plus.google.com/u/0/117663724...
My Blog : http://freblogg.com/
Facebook Page: / freblogg
-----------------------------------------------
Image attributions:
Girl house fire image - http://img.memerial.net/5926/push-rej...
SPiderman - http://davidmmasters.com/wp-content/u...
I don't always git reset - https://cdn.meme.am/cache/instances/f...
Wonder woman - https://commons.wikimedia.org/wiki/Fi... Author: Divulgação - Creative Commons Share Alike
Dunkirk - http://www.mazamaa.com/wp-content/upl...
Spiderman Homecoming - http://screencrush.com/files/2017/06/...
On this page of the site you can watch the video online Undo Git hard reset with a duration of hours minute second in good quality, which was uploaded by the user Swaroop P 09 September 2017, share the link with friends and acquaintances, this video has already been watched 3,679 times on youtube and it was liked by 57 viewers. Enjoy your viewing!