|
From: | Federico Bruni |
Subject: | Re: CG 3.2.1: missing instructions on how to track the translation branch |
Date: | Tue, 07 Aug 2012 18:16:11 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 |
Il 04/08/2012 02:27, John Mandereau ha scritto:
Il giorno ven, 03/08/2012 alle 01.17 +0200, Federico Bruni ha scritto:> git branch --track translation origin/translation > git checkout translationFWIW git checkout origin/translation is a shorthand for the 2-commands sequence you gave.
I've just tried it after a fresh git clone and it doesn't seem to work: address@hidden:~/lilypond-git$ git checkout origin/translation Note: checking out 'origin/translation'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 952705b... Merge branch 'translation' into staging address@hidden:~/lilypond-git$ git status # Not currently on any branch. nothing to commit (working directory clean)
[Prev in Thread] | Current Thread | [Next in Thread] |