Skip to contentSkip to conversation

cogito push problem

DISCUSSION Nico -telmich- Schottelius 2 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.
#1 lore raw

Dear diary, on Sun, Sep 25, 2005 at 09:22:14PM CEST, I got a letter where Nico -telmich- Schottelius <[email protected]> told me that...

Quoted 11 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.

Signature · 4 lines
				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.
#2 lore raw

Petr Baudis [Sun, Sep 25, 2005 at 11:09:08PM +0200]:

Quoted 14 lines

Dear diary, on Sun, Sep 25, 2005 at 09:22:14PM CEST, I got a letter where Nico -telmich- Schottelius <[email protected]> told me that...

Quoted 11 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?

Quoted 4 lines

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

Signature · 2 lines
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.
#3 lore raw

Dear diary, on Sun, Sep 25, 2005 at 11:52:59PM CEST, I got a letter where Nico -telmich- Schottelius <[email protected]> told me that...

Quoted 15 lines

Petr Baudis [Sun, Sep 25, 2005 at 11:09:08PM +0200]:

Quoted 14 lines

Dear diary, on Sun, Sep 25, 2005 at 09:22:14PM CEST, I got a letter where Nico -telmich- Schottelius <[email protected]> told me that...

Quoted 11 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?

Quoted 8 lines
Quoted 4 lines

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?

Signature · 4 lines
				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.
#4 lore raw

Petr Baudis [Mon, Sep 26, 2005 at 12:02:23AM +0200]:

Quoted 5 lines
Quoted 3 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

Signature · 2 lines
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.