git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How can git pull be up-to-date and git push fail?
@ 2007-04-05 12:15 Bill Lear
  2007-04-05 13:49 ` Jeff King
  0 siblings, 1 reply; 13+ messages in thread
From: Bill Lear @ 2007-04-05 12:15 UTC (permalink / raw)
  To: git

I'm trying to explain this behavior to a co-worker, and how to solve
it:

% git pull
Already up-to-date.

% git push
error: remote 'refs/remotes/origin/flexify' is not a strict subset of
localref 'refs/remotes/origin/flexify'. maybe you are not up-to-date
and need to pull first?

I believe he is using git 1.5.0 and that the above was tried from the
master branch.

So, I'm confused: I would have thought the way you solve the problem
in step 2 is by executing step 1.  Would he need to do this:

% git checkout flexify
% git pull flexify:flexify
% git checkout master
% git push


Bill

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-04-07 21:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-05 12:15 How can git pull be up-to-date and git push fail? Bill Lear
2007-04-05 13:49 ` Jeff King
2007-04-05 14:07   ` Bill Lear
2007-04-05 14:25     ` Bill Lear
2007-04-05 20:46     ` Jeff King
2007-04-05 20:55       ` Bill Lear
2007-04-07 16:16         ` Jeff King
2007-04-05 21:18       ` Junio C Hamano
2007-04-06  2:52         ` Jeff King
2007-04-06 21:44           ` Junio C Hamano
2007-04-07 17:07             ` Jeff King
2007-04-07 21:26               ` Junio C Hamano
2007-04-07 21:32                 ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).