Hi

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

'night
--
Federico

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to