0

I accidentally set my entire Next.js application to zero with the command git reset --hard origin/master.

git fetch --all
git reset --hard origin/master

How can I reset everything?

enter image description here

Captai-N
  • 1,124
  • 3
  • 15
  • 26
  • 1
    https://stackoverflow.com/q/5473/438992 – Dave Newton Jun 02 '23 at 16:30
  • In the end it'll depend on what you've done locally, whether or not you're using an IDE/etc that tracks local history, etc. E.g., if you were working in a branch and so on. – Dave Newton Jun 02 '23 at 16:31
  • 1
    [Please post code/errors/etc as formatted text instead of images of formatted text.](https://meta.stackoverflow.com/questions/285551/why-should-i-not-upload-images-of-code-data-errors-when-asking-a-question/285557#285557) – Dave Newton Jun 02 '23 at 16:38

0 Answers0