[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rebasing multiple git branches at once
From: |
Carl Sorensen |
Subject: |
Re: rebasing multiple git branches at once |
Date: |
Sun, 24 Jan 2010 06:53:54 -0700 |
On 1/24/10 6:49 AM, "Carl Sorensen" <address@hidden> wrote:
>
>
>
>
> On 1/23/10 11:10 PM, "Mark Polesky" <address@hidden> wrote:
>
>> I wrote a little shell script to rebase all my local git
>> branches at once. However, reading the git-pull man page
>> makes me wonder if there's not some tragedy waiting to
>> happen. The script is designed for developers who are only
>> tracking the `master' branch (translators shouldn't rebase
>> too casually anyway).
>>
>> So, is this a dumb idea for some reason? Or is it useful
>> enough to add to scripts/auxiliar/? Right now, I have six
>> local branches, and individually doing `git pull -r' was
>> just getting me down. Actually, this script speeds up the
>> process even more: it only pulls for `master', then rebases
>> the other branches to the updated local master (which is
>> much faster than pulling for each).
>
> So does the script rebase all branches in a repository?
Oops -- embarrassed, red face -- I missed the attachment due to a shift in
mail clients.
The script is cool, and nicely written, and appears safe to me.
Thanks,
Carl