Is there a way to undo git reset if files are not added? -



Is there a way to undo git reset if files are not added? -

i stupidly ran git reset --hard on branch. in wrong branch. unfortunately, didn't perform git add together .. there way work?

no. not believe there method local code if never added local or git repository @ point. if added @ point, utilize git fsck lastly deleted info added @ point. there stack overflow here talking possibility

git

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -