threads / discuss / 1944

cogito push problem

Subject: cogito push problem

## tl;dr

5 messages between Sep 25, 2005 and Sep 26, 2005.

replies: 4people: 2as markdown or json

Nico -telmich- Schottelius· Sep 25, 2005, 19:22 UTC · lore
Hello!
I was trying to push my current work out and recieved this error:

[21:20] hydrogenium:cinit% cg-push main error: remote ref 'refs/heads/master' is not a strict subset of local ref 'refs/heads/master'.

My questions:
- What does that mean to me as an end-user?
- What's the reason that this happened?
- How do I fix that?
Nico
-- 
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.
Petr Baudis· Sep 25, 2005, 21:09 UTC · re: Nico -telmich- Schottelius · lore

Re: cogito push problem

Dear diary, on Sun, Sep 25, 2005 at 09:22:14PM CEST, I got a letter where Nico -telmich- Schottelius <nico-linux-git@schottelius.org> told me that...

Show 11 quoted lines
> Hello!
> 
> I was trying to push my current work out and recieved this error:
> 
> [21:20] hydrogenium:cinit% cg-push main
> error: remote ref 'refs/heads/master' is not a strict subset of local ref 'refs/heads/master'.
> 
> My questions:
> - What does that mean to me as an end-user?
> - What's the reason that this happened?
> - How do I fix that?

This means someone probably pushed out some new stuff you don't have yet (or you did something evil, like uncommitted something you already pushed out before). So what to do is cg-update, that will merge the new stuff, then try to cg-push again.

cg-push already spits out a somewhat more helpful message about this in some cases, I'll make it do so in all cases. Thanks.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Nico -telmich- Schottelius· Sep 25, 2005, 21:52 UTC · re: Petr Baudis · lore

Re: cogito push problem

Petr Baudis [Sun, Sep 25, 2005 at 11:09:08PM +0200]:
Show 18 quoted lines
> Dear diary, on Sun, Sep 25, 2005 at 09:22:14PM CEST, I got a letter
> where Nico -telmich- Schottelius <nico-linux-git@schottelius.org> told me that...
> > Hello!
> > 
> > I was trying to push my current work out and recieved this error:
> > 
> > [21:20] hydrogenium:cinit% cg-push main
> > error: remote ref 'refs/heads/master' is not a strict subset of local ref 'refs/heads/master'.
> > 
> > My questions:
> > - What does that mean to me as an end-user?
> > - What's the reason that this happened?
> > - How do I fix that?
> 
> This means someone probably pushed out some new stuff you don't have
> yet (or you did something evil, like uncommitted something you already
> pushed out before). So what to do is cg-update, that will merge the new
> stuff, then try to cg-push again.

Thanks for your help, cg-update && cg-commit worked fine, because cg-update overwrote the changes made by me (I checked cg-diff before, so that was my intention, not cg-update's fault).

Nico
-- 
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.
Petr Baudis· Sep 25, 2005, 22:02 UTC · re: Nico -telmich- Schottelius · lore

Re: cogito push problem

Dear diary, on Sun, Sep 25, 2005 at 11:52:59PM CEST, I got a letter where Nico -telmich- Schottelius <nico-linux-git@schottelius.org> told me that...

Show 23 quoted lines
> Petr Baudis [Sun, Sep 25, 2005 at 11:09:08PM +0200]:
> > Dear diary, on Sun, Sep 25, 2005 at 09:22:14PM CEST, I got a letter
> > where Nico -telmich- Schottelius <nico-linux-git@schottelius.org> told me that...
> > > Hello!
> > > 
> > > I was trying to push my current work out and recieved this error:
> > > 
> > > [21:20] hydrogenium:cinit% cg-push main
> > > error: remote ref 'refs/heads/master' is not a strict subset of local ref 'refs/heads/master'.
> > > 
> > > My questions:
> > > - What does that mean to me as an end-user?
> > > - What's the reason that this happened?
> > > - How do I fix that?
> > 
> > This means someone probably pushed out some new stuff you don't have
> > yet (or you did something evil, like uncommitted something you already
> > pushed out before). So what to do is cg-update, that will merge the new
> > stuff, then try to cg-push again.
> 
> Thanks for your help, cg-update && cg-commit worked fine, because
> cg-update overwrote the changes made by me (I checked cg-diff before,
> so that was my intention, not cg-update's fault).
But it definitively shouldn't do that anyway. Was that 0.15.1?
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Nico -telmich- Schottelius· Sep 26, 2005, 20:51 UTC · re: Petr Baudis · lore

Re: cogito push problem

Petr Baudis [Mon, Sep 26, 2005 at 12:02:23AM +0200]:
Show 5 quoted lines
> > Thanks for your help, cg-update && cg-commit worked fine, because
> > cg-update overwrote the changes made by me (I checked cg-diff before,
> > so that was my intention, not cg-update's fault).
> 
> But it definitively shouldn't do that anyway. Was that 0.15.1?
No:

[18:51] hydrogenium:cinit% cg --version cogito-0.14.2 (e9f8fea9ab0a71dfc6586d18a362bcae6843f074) You have new mail.

I was too lazy to update, but will do that now.
Nico
-- 
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.

← back to recent threads