Hi,

I recently had the following case:

1. I have a local branch called `foo` which I haven't checkout recently.
2. Due to a bad alias I ran the following command:

    git-checkout -B foo

This checked out and reset the foo branch. Which is according to the
documentation.
However, the output of the command does not show the previous state of
the foo branch
unlike what `git-reset --hard` does for some time.

The previous revision is not present in the `reflog` either as I
haven't checked it out.

I think it would be beneficial to Git users to show the previous
revision in all operations
resulting in reseting a branch.

Thanks,
Harry

Reply via email to