git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how do you "force a pull"?
@ 2007-08-25 11:19 Jing Xue
  2007-08-25 11:31 ` Dan Chokola
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jing Xue @ 2007-08-25 11:19 UTC (permalink / raw)
  To: git

I am working in repo1, and make a savepoint commit and pack up and leave.

On another machine, I have a clone of repo1 (repo2). So I pull from
repo1, "git reset --soft HEAD" to get rid of the savepoint commit, and start working in repo2.

A while later I realize the earlier commit was actually a good commit
point. But I can no longer pull it again from repo1. It keeps giving me
the "Cannot merge" fatal error. "-f" doesn't help.

So in general my question is "how do you force pulling from a remote
repository?"  (short of, you know, recloning the repo...)

I have a feeling that either I'm still stuck in the traditional central-repository
mentality, or missing something real simple.

Thanks.
-- 
Jing Xue

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

end of thread, other threads:[~2007-08-27  5:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-25 11:19 how do you "force a pull"? Jing Xue
2007-08-25 11:31 ` Dan Chokola
2007-08-25 11:37 ` David Watson
2007-08-25 11:53   ` Jing Xue
2007-08-25 13:19     ` Randal L. Schwartz
2007-08-26 19:02 ` Fredrik Tolf
2007-08-27  5:26   ` Jing Xue

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