From: Rick Moynihan Date: Thu, 16 Oct 2008 14:48:11 GMT Subject: Re: Rebasing Multiple branches at once... Message-ID: <48F7542B.1050909@calicojack.co.uk> In-Reply-To: <20081016135908.GI536@genesis.frugalware.org> Miklos Vajna wrote: > On Thu, Oct 16, 2008 at 01:17:20PM +0100, Rick Moynihan wrote: >> I have a master branch, a dev branch and a number of feature branches from >> dev. And I was wondering if there was an easy way to rebase dev and all of >> it's sub-branches onto master. > > In general this is considered harmful. Why do you rebase your branch > from time to time? For example in git.git, topic branches are based on > master, then merged to master when they are ready, but they are never > rebased. Yes, but my understanding is that it's only harmful if you publish the branch (or dependent branches) which are being rebased. So rebasing is very bad in these circumstances, but I fail to see why it's bad if these branches are kept private. R.