Re: rebase: Ask before doing anything not undoable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 20.12.2018 um 18:33 schrieb Ricardo Biehl Pasquali:
> It was the second time I've typed "git rebase --co",
> hit tab (for completion) and enter, and the result was
> --committer-date-is-author-date instead of --continue .
> 
> Please do ask user before run actions like these! I have
> not found a way to undo that. I had to perform a reset in
> the repository.
> 
> PS: Notice I was expecting a command of interactive rebase,
>     and I got a bunch of commits's date (and hash) changed.

Do you know about the reflog? This let's you undo these kind of changes.
See git help reflog.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux