On Sun, 7 Apr 2019, 20:46 , <neverasi...@gmail.com> wrote:

>
>    -  ... however how to undo a rebasing (if possible) will be a future
>    deepening of mine,
>
> Rebase always creates technically new commits instead of replacing old
commits. You can simply hard reset your branch wherever you want. Command
"git reflog --help" will provide more information. And once you know the
sha1, you can just git reset --hard <sha1 you want> and git will overwrite
all files and index with the old committed state. There's nothing else to
undo.

-- 
Mikko

-- 
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