bug-lilypond
[Top][All Lists]
Advanced

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

Re: CG 3.2.1: missing instructions on how to track the translation branc


From: John Mandereau
Subject: Re: CG 3.2.1: missing instructions on how to track the translation branch
Date: Sat, 04 Aug 2012 02:27:10 +0200

Il giorno ven, 03/08/2012 alle 01.17 +0200, Federico Bruni ha scritto:
> git branch --track translation origin/translation
> git checkout translation

FWIW

git checkout origin/translation

is a shorthand for the 2-commands sequence you gave.


> On a side note, 'git clone' sees _all_ the remote branches.
> I think that it would be nice to say also how to clean all the remote 
> branches that one will never use. You may say it's a nitpick, yes it is 
> :-) but 'git branch -a' is a bit messy.
> 
> I know how to remove them one by one, for example:
> git branch -d -r origin/stable/0.0
> 
> but obviously this is not the way to go.
> 
> Wildcards unfortunately don't work:
> 
> git branch -d -r origin/stable/*
> error: remote branch 'origin/stable/*' not found.
> 
> And this doesn't work neither:
> git branch -a | grep dev | xargs git branch -d

As Graham said, we don't want to support what you're asking for, which
might be possible but at a cost of fiddling around that's not worth the
trouble.  We're not (yet) in the siuation of having hundreds of branches
in our Git repo :-)

Best,
John




reply via email to

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