error in pushing commits to gitorious clone

Ben Cooksley bcooksley at kde.org
Mon Jul 26 08:36:38 CEST 2010


On Mon, Jul 26, 2010 at 6:29 PM, Varrun Ramani <varrunr at gmail.com> wrote:
> Hi
>
> While pushing commits to my clone on gitorious I experienced an unusual
> error. I am not sure what the reason behind it may be.
>
> Clone: http://gitorious.org/~varrunr/amarok/varrunrs-amarok/
>
> Error: http://paste.pocoo.org/show/241757/

This is due to a change in git history...

>
> Git reflog: http://paste.pocoo.org/show/241760/
>
> Here, Head{2} was the initial commit I intended to push. It showed me the
> same error, so i tried resetting to the previous commit(after Head{3}), and
> then making the changes, and committed again as Head{0}. Pushing still did
> not work. Could it be because of the git rebase?

A git rebase will rewrite the history of the repository.
If no-one else works on your clone, then you can rewrite the history
by performing a force push ( git push -f )

>
> --
> Varrun
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
>


More information about the Amarok-devel mailing list