2009/4/12 Kolbjørn Barmen <[email protected]>:
> On Sat, 11 Apr 2009, Andreas Schwab wrote:
>
>> Geert Uytterhoeven <[email protected]> writes:
>>
>> > 2.6.29 development is done on branch `m68k-v2.6.29', use
>> >
>> >     git checkout m68k-v2.6.29
>
> Well, noone says this, but obviously one has to step into the "linux-m68k"
> directory one first "cloned" to do this... so "cd linux-m68k", and then...
>
>> After cloning the repository you first have to create the tracking
>> m68k-v2.6.29 branch:
>>
>> $ git checkout -t origin/m68k-v2.6.29
>
> did you test this?
>
> [ko...@haugum] /home/kolla/linux-m68k $ git checkout -t origin/m68k-v2.6.29
> fatal: git checkout: --track and --no-track require -b
>
> So after some fumbling...
>
> [ko...@haugum] /home/kolla/linux-m68k $ git checkout -t -b origin/m68k-v2.6.29
> Branch origin/m68k-v2.6.29 set up to track local branch refs/heads/master.
> Switched to a new branch "origin/m68k-v2.6.29"

Ah, so it created a branch `origin/m68k-v2.6.29' to track the local `master',
while the intention was to create a local `m68k-v2.6.29' branch, to track the
remote `origin/m68k-v2.6.29' branch...

> But so what - git tells me I have switched to new branch, but where is it?

`git branch -a' will tell you...

> I have not received anything, nor do I have any new files, and...

You don't have to get new files to create a new branch.
Besides, you already got all the files for the `origin/..' branches during the
clone.

> [ko...@haugum] /home/kolla/linux-m68k $ git checkout m68k-v2.6.29
> error: pathspec 'm68k-v2.6.29' did not match any file(s) known to git.
>
> [ko...@haugum] /home/kolla/linux-m68k $ git checkout origin/m68k-v2.6.29
> warning: refname 'origin/m68k-v2.6.29' is ambiguous.
> Already on "origin/m68k-v2.6.29"
>
> [ko...@haugum] /home/kolla/linux-m68k $ git status | cat
> # On branch origin/m68k-v2.6.29
> nothing to commit (working directory clean)
>
> [ko...@haugum] /home/kolla/linux-m68k $ git pull
> From .
>  * branch            master     -> FETCH_HEAD
> Already up-to-date.
>
> [ko...@haugum] /home/kolla/linux-m68k $ head -n5 Makefile
> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 30
> EXTRAVERSION = -rc1
> NAME = Temporary Tasmanian Devil
>
> Obviously not 2.6.29...

Yeah, this is all `master', i.e. current development...

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to