DragonFly BSD
DragonFly users List (threaded) for 2012-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cannot upgrade to lastest release v3.2 from 3.0.3.1


From: RadosÅaw Szymczyszyn <lavrin@xxxxxxxxx>
Date: Sun, 4 Nov 2012 01:29:42 +0100

Hello,

2012/11/4 Edward M <martinezedward228@gmail.com>:
>
>   cd /usr/src/
>   git branch DragonFly_RELEASE_3_2
>   git checkout DragonFly_RELEASE_3_2
>
> after the last command, appears  nothing gets downloaded.
> anyway, i continued with the rest of the commands, maybe i was mistaken.

That's the problematic part, not the install procedure.

'git branch' creates a new branch with the given name, so what you did
was you created a local branch DragonFly_RELEASE_3_2 and then switched
to it, while what you intended to do was to switch to a
remote-tracking branch.

To fix it, you must delete the newly created branch and then switch properly:

    git checkout some_other_branch  # you can't delete a branch you're
on, for a list of branches you can switch to use 'git branch -a'
    git branch -d DragonFly_RELEASE_3_2  # delete it
    git fetch  # get whatever branches/tags/commits have appeared in
the remote repo
    git checkout DragonFly_RELEASE_3_2  # should give some message
about tracking a remote branch, namely origin/DragonFly_RELEASE_3_2

I'm writing this from my head without access to a DragonFly system,
but hope I didn't make any mistakes.

Cheers
Radek



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