# cogito push problem

5 messages from 2005-09-25 to 2005-09-26. Participants: Nico -telmich- Schottelius, Petr Baudis.
Thread: https://gitlist.dev/t/1944

## Nico -telmich- Schottelius, 2005-09-25 19:22

Subject: cogito push problem
Message-ID: <20050925192214.GC19023@schottelius.org>
URL: https://gitlist.dev/e/20050925192214.GC19023%40schottelius.org

```
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, 2005-09-25 21:09

Subject: Re: cogito push problem
Message-ID: <20050925210908.GA21019@pasky.or.cz>
URL: https://gitlist.dev/e/20050925210908.GA21019%40pasky.or.cz
In-Reply-To: <20050925192214.GC19023@schottelius.org>

```
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.

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, 2005-09-25 21:52

Subject: Re: cogito push problem
Message-ID: <20050925215259.GE19023@schottelius.org>
URL: https://gitlist.dev/e/20050925215259.GE19023%40schottelius.org
In-Reply-To: <20050925210908.GA21019@pasky.or.cz>

```
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).

Nico

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

```

## Petr Baudis, 2005-09-25 22:02

Subject: Re: cogito push problem
Message-ID: <20050925220222.GA21013@pasky.or.cz>
URL: https://gitlist.dev/e/20050925220222.GA21013%40pasky.or.cz
In-Reply-To: <20050925215259.GE19023@schottelius.org>

```
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...
> 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, 2005-09-26 20:51

Subject: Re: cogito push problem
Message-ID: <20050926205105.GG19023@schottelius.org>
URL: https://gitlist.dev/e/20050926205105.GG19023%40schottelius.org
In-Reply-To: <20050925220222.GA21013@pasky.or.cz>

```
Petr Baudis [Mon, Sep 26, 2005 at 12:02:23AM +0200]:
> > 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.

```
