git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Master and origin/master diverged
@ 2012-06-22 17:53 Hilco Wijbenga
  2012-06-22 18:34 ` Phil Hord
  2012-06-22 19:01 ` Neal Kreitzinger
  0 siblings, 2 replies; 13+ messages in thread
From: Hilco Wijbenga @ 2012-06-22 17:53 UTC (permalink / raw)
  To: Git Users

Hi all,

One of my developers managed to push something that somehow "diverged"
origin/master from everyone else's local master.

A --> B --> C --> D (everybody's local master)
|
\--> B' --> C' --> D' --> E (origin/master)

(i.e., A is the commit where things diverged; everyone's local master
points to D but the new commit (E) that was pushed to origin/master
uses different SHA1s for B, C, and D). I hope I explained it clearly
enough.

Now running git pull creates a merge commit joining D and E.

When I asked the developer what he had done he told me everything had
looked normal. No Git warnings, nothing strange in gitk (i.e. normal
linear history). So I do not understand what went wrong.

Does anyone have any idea as to what might have happened? Perhaps if I
understand how this happened I might be able to prevent it from
happening again.

Cheers,
Hilco

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

end of thread, other threads:[~2012-06-27  5:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-22 17:53 Master and origin/master diverged Hilco Wijbenga
2012-06-22 18:34 ` Phil Hord
2012-06-22 20:14   ` Hilco Wijbenga
2012-06-22 22:10     ` Phil Hord
2012-06-22 22:33       ` Hilco Wijbenga
2012-06-22 19:01 ` Neal Kreitzinger
2012-06-22 20:18   ` Hilco Wijbenga
2012-06-22 23:47     ` Neal Kreitzinger
2012-06-26  2:49       ` Hilco Wijbenga
2012-06-27  5:54         ` Neal Kreitzinger
2012-06-22 23:59     ` Junio C Hamano
2012-06-26  2:58       ` Hilco Wijbenga
2012-06-26  4:11         ` Junio C Hamano

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