I made a big mistake. I wanted to remove all my local changes but instead of discarding them I just selected all files and removed them. I use SmartGit. How can I return that files?
Asked
Active
Viewed 139 times
1 Answers
0
You can restore your local filesystem state to the latest change in git. Do this by "resetting" your load repository:
git reset --head HARD
I'm not familiar with SmartGit specifically, but this question covers resets in SmartGit: How to checkout and reset using smartgit?

Nikolas Stevenson-Molnar
- 4,235
- 1
- 22
- 31
-
I did `git reset --hard HEAD ` . Thank You a lot. – Shushanik Kostumyan Feb 10 '19 at 17:54