Git development
 help / color / mirror / Atom feed
* "Resetting" a repository
@ 2011-09-27 15:24 gitlist
  2011-09-27 16:22 ` Randal L. Schwartz
  0 siblings, 1 reply; 3+ messages in thread
From: gitlist @ 2011-09-27 15:24 UTC (permalink / raw)
  To: git

I have a project with a test repository and a live repository (and a 
development repository).

Over time, the test repository has had merges which were in a quite 
different order to the live repository, so it no longer fulfills its 
role of being pretty much like the live repository and therefore a good 
place to test. The two have diverged too far.

We've reached a point in the project when it would be good to reset the 
test repository so that it is exactly the same as the live one. We can 
then merge new work from the development repository.

I think that if I just merge the live repository into the test 
respository it will not remove extra (non-conflicting) code. On this 
occasion I want to remove all extra code and resolve all conflicts in 
favour of the live repository version.

I'd appreciate advice on the best way to do this.

Thanks

Roddie Grant

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

end of thread, other threads:[~2011-09-28  7:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27 15:24 "Resetting" a repository gitlist
2011-09-27 16:22 ` Randal L. Schwartz
2011-09-28  7:52   ` Roddie Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox