Quantcast
Channel: Restore files from git - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by larsks for Restore files from git

When you git add a file, git stores it as an object in your repository (in the .git directory). Your files are probably still hanging around. On the other hand, by running the git reset --hard command...

View Article



Restore files from git

I worked on a new Projekt. I added all the Files to my local git-repositorygit add .but i didn't commit it. Then i accidently resetet the gitgit reset --hardHow is it possible to restore my Files? I...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images