On Tue, 2011-01-25 at 21:24 -0500, Nick Sabalausky wrote:
[ . . . ]
> Ulrick mentioned that history rewriting is "encouraged under some particular 
> circumstances". What circumstances would those be?

Rebasing/rewriting of private, never published repositories is
absolutely fine, and is encouraged for preparing a repository for
creation of changesets/patches where it is not possible to simply
publish the repository and issue a pull request.

In all other circumstances rebasing/rewriting is discouraged.  Well
actually as close to being banned as it is possible to get.
Rebasing/rewriting an already published repository is a catastrophic
event that ruins relationships with clones (due to the history
rewriting!).

Git repositories used as writing clients to Subversion repositories
(using git-svn) have to do rebasing as an integral part of the writing
to the Subversion repository.  This means they have to be personal
clients only.  Read-only is a way of bridging of course since there is
no rebasing.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@russel.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to