2015-06-09 15:55 GMT-04:00 Konrád Lőrinczi <klorin...@gmail.com>:

> I did a few git rebase interactive between branches, but when I use git
> reflog & git reset --hard HEAD@{N} I can not get the same branch
> hierarchy as it was before.
> git reflog
> git reset --hard HEAD@{14}


You seem to be confused as to what git reset --hard does -- it doesn't
reset your whole repository, it moves a single branch head to a different

You will have to consult the reflog of each branch (git reflog local_dev),
and reset that branch to the correct point (git checkout local_dev; git
reset --hard local_dev@{N}).

Good luck
Rémi Rampin

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to