Be aware git can delete your commits

Elias Ross genericelias at gmail.com
Thu Mar 15 15:01:49 UTC 2012


git reflog can usually recover your state. Did you try this?



On Mar 15, 2012, at 7:23 AM, mike thompson <mithomps at redhat.com> wrote:

> This just more of a cautionary message.
>
> I got stuck in a git push/pull loop yesterday. The git push stated that I needed to pull (even though there was no changes on the branch) before I could push. And the pull (rebase) gave me 3 options:
>
> When you have resolved this problem run "git rebase --continue".
> If you would prefer to skip this patch, instead run "git rebase --skip".
> To restore the original branch and stop rebasing run "git rebase --abort".
>
> The first couple times i did the git rebase --continue (to no avail).
>
> Anyway, the moral to the story is that 'git rebase --skip' will delete your committed commit.
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/rhq-devel
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>


More information about the rhq-devel mailing list