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 :
Google :
My Blog :
Facebook Page:
----------------------------------------------
1 view
116
24
1 year ago 00:06:21 1
Aaron Lebedeff - Roumania Roumania (1947)
2 years ago 01:04:48 1
Как работать с Git. Занятие 5.
2 years ago 00:08:25 1
Git: Commits in Visual Studio Code
2 years ago 00:02:37 1
Why you HAVE TO KNOW These Commands to FIX your GIT Projects!