Undo Git hard reset

Publié le: 09 septembre 2017
sur la chaîne: Swaroop P
3,679
57

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/...


Sur cette page du site, vous pouvez voir la vidéo en ligne Undo Git hard reset durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Swaroop P 09 septembre 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,679 fois et il a aimé 57 téléspectateurs. Bon visionnage!