[Top][All Lists]

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

CG 3.2.1: missing instructions on how to track the translation branch

From: Federico Bruni
Subject: CG 3.2.1: missing instructions on how to track the translation branch
Date: Fri, 03 Aug 2012 01:17:38 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5


in CG 3.2.1, Initializing a repository
the recommended way to download the source code is using clone:

git clone git://git.sv.gnu.org/lilypond.git ~/lilypond-git

git clone sets only the master branch.
Previously the doc contained complex git commands but there were full instructions for both developers and translators. Now (new) translators are missing some information.

I think that all translators should know is these two commands:

git branch --track translation origin/translation
git checkout translation

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


reply via email to

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