Reply to comment

git reset refs/remotes/origin do not work,

I get error on running git reset refs/remotes/origin

git reset refs/remotes/origin

fatal: This operation must be run in a work tree
fatal: Could not reset index file to revision 'refs/remotes/origin/master'.
#

Do we need to run that command or git fetch origin will be fine ?

Reply

The content of this field is kept private and will not be shown publicly.