I am pretty new to git, so I wanted to know if there is any command which you could use if you just screw up everything on your local copy of a branch.
Something like:
git reclone
I am pretty new to git, so I wanted to know if there is any command which you could use if you just screw up everything on your local copy of a branch.
Something like:
git reclone
You could reset your local branch to the remote using git reset
:
$ git reset origin/master --hard