I get error on running 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 ?
<code>
<blockcode>
<apache>
<bash>
<perl>
<python>
<rails>
<ruby>
<sql>
<foo>
[foo]
More information about formatting options
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 ?