[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] BSD testing

From: Rob Savoye
Subject: Re: [Gnash-dev] BSD testing
Date: Fri, 13 Aug 2010 08:40:44 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2 Thunderbird/3.1.1

On 08/13/10 04:50, strk wrote:
> On Thu, Aug 12, 2010 at 09:55:25PM -0600, Rob Savoye wrote:

> At least with git version I belive the branch command
> should also specify which remote branch to track, or will be
> a private branch with that name, so I had to do this:
> $ git clone git://
> $ git branch release_0_8_8 origin/release_0_8_8
> $ git branch -v # shows last commit in HEAD of each branch
> * master        51a444f merge patches from bzr for media handler changes.
>   release_0_8_8 7332666 use git instead of bzr as the SCC
> $ git checkout release_0_8_8 # if you want to work on the release branch

  Interesting. As far as I can tell, git keeps all branches (at least
the shared ones) in the same tree, and the checkout command just
switches between them. 'git branch" shows which branch you are currently
in. Since I'm kindof used to have multiple builds going on at the same
time, with different branches, it seems the only way I can have two
branches checked out at the same time is to clone the repository.

I put this in my $HOME/.gitconfig to make it easier:

    st = status
    ci = commit
    br = branch
    di = diff
    co = checkout

If you like color diffs like "bzr cdiff" does, this turns that on:

        diff = auto
        status = auto
        branch = auto
        ui = auto

And I think this helps merging: (still learning git)

[branch "release_0_8_8"]
    remote = origin
    merge = refs/heads/release_0_8_8

        - rob -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]