reset: perform the checkout before moving HEAD or the index
This keeps the state of the workdir the same as one from HEAD, removing a source of possible confusion when calculating the work that is to be done.
Showing
Please
register
or
sign in
to comment