Re: git: using branches



On Fri, Apr 17, 2009 at 12:59 PM, Gil Forcada <gforcada gnome org> wrote:
> Hi all!
>
> I tried to follow the Git translators guide[1] to update the anjuta
> translation (which is already branched).
>
> So I git clone it and then I tried to switch to the gnome-2-26 branch
> but failed with the "git checkout --track origin/gnome-2-26" command.
>
> After some research I finally found something that works:
> git checkout -b local-gnome-2-26 origin/gnome-2-26
>
> With this, git creates a local branch named "local-gnome-2-26" from
> "origin/gnome-2-26" remote branch.
>
> Then edit files, git commit and git push as usual.
>
> I have git 1.6.0.6, don't know if it has changed with previous or newer
> versions.
>
> Should I update the "working with branches" section with this commands?

Thanks for catching this (-b 'branch'). Feel free to update the Wiki page.
Just a note, the page has been moved to
http://live.gnome.org/TranslationProject/GitHowTo

Cheers,
Simos

> Cheers,
>
> [1] http://live.gnome.org/GitMigration/Translators
>
> --
> gil forcada
>
> [ca] guifi.net - una xarxa lliure que no para de créixer
> [en] guifi.net - a non-stopping free network
> bloc: http://gil.badall.net
>
> _______________________________________________
> gnome-i18n mailing list
> gnome-i18n gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-i18n
>


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