Re: Cloning from kernel.org, then switching to another repo
- From
Jon Smirl <jonsmirl@gmail.com>
- Date
- Nov 12, 2007, 16:22 UTC
- Message-ID
- <9e4733910711120822x18019fe6v40eb8ee0e48282dd@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0711121613570.4362@racer.site>
On 11/12/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 27 quoted lines
> Hi,
>
> On Mon, 12 Nov 2007, Jon Smirl wrote:
>
> > On 11/12/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> >
> > > On Mon, 12 Nov 2007, Jon Smirl wrote:
> > >
> > > > git clone linus
> > > > move origin to digispeaker.git
> > >
> > > AKA "git config remote.origin.url <your-digispeaker-url-here>"
> >
> > There is more to this:
>
> You must be hiding something.
>
> > jonsmirl@terra:~/foo$ git clone
> > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git ds
> > clone.....
>
> This sets up branch.master.{remote,merge} to {origin,master}.
>
> > jonsmirl@terra:~/foo/ds$ git config remote.origin.url
> > http://git.digispeaker.com/projects/digispeaker-kernel.git
>
> This does not change that setting.It edited origin:[remote "origin"]
url = http://git.digispeaker.com/projects/digispeaker-kernel.git
fetch = +refs/heads/*:refs/remotes/origin/*Show 11 quoted lines
> > jonsmirl@terra:~/foo/ds$ git pull > > You asked me to pull without telling me which branch you > > want to merge with, and 'branch.master.merge' in > > your configuration file does not tell me either. Please > > name which branch you want to merge on the command line and > > try again (e.g. 'git pull <repository> <refspec>'). > > See git-pull(1) for details on the refspec. > > And this does not come up here. > > Maybe you don't have a master branch on digispeaker.
At digispeaker remote repo: [daedalus]$ git branch m24 m25 m26 m28 m29 * master [daedalus]$
gitweb is at: git.digispeaker.com
[daedalus]$ cd refs [daedalus]$ find . ./heads ./heads/m24 ./heads/m25 ./heads/m26 ./heads/m28 ./heads/m29 ./heads/master ./tags [daedalus]$
Show 5 quoted lines
> > Ciao, > Dscho > >
-- Jon Smirl jonsmirl@gmail.com