git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Cloning from kernel.org, then switching to another repo

From
Jon Smirl <jonsmirl@gmail.com>
Date
Nov 12, 2007, 15:36 UTC
Message-ID
<9e4733910711120736g31e3e84cx5a213afc4b889de7@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.64.0711121412410.4362@racer.site>
On 11/12/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 12 quoted lines
> Hi,
>
> On Mon, 12 Nov 2007, Jon Smirl wrote:
>
> > I'd like to do this sequence, but I can't figure out how without editing
> > the config file. There doesn't seem to be a simple command to move the
> > origin.
> >
> > git clone linus
> > move origin to digispeaker.git
>
> AKA "git config remote.origin.url <your-digispeaker-url-here>"
There is more to this:

jonsmirl@terra:~/foo$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git ds clone..... jonsmirl@terra:~/foo/ds$ git config remote.origin.url http://git.digispeaker.com/projects/digispeaker-kernel.git 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.

If you often merge with the same branch, you may want to configure the following variables in your configuration file:

    branch.master.remote = <nickname>
    branch.master.merge = <remote-ref>
    remote.<nickname>.url = <url>
    remote.<nickname>.fetch = <refspec>

See git-config(1) for details. jonsmirl@terra:~/foo/ds$

Show 7 quoted lines
>
> > git pull
>
> Hth,
> Dscho
>
>
-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 22 in “Cloning from kernel.org, then switching to another repo”
  1. Jon SmirlNov 12, 2007
  2. Johannes SchindelinNov 12, 2007
  3. Jon SmirlNov 12, 2007
  4. Johannes SchindelinNov 12, 2007
  5. Jon SmirlNov 12, 2007
  6. Johannes SchindelinNov 12, 2007
  7. Jon SmirlNov 12, 2007
  8. Jon SmirlNov 12, 2007
  9. Jeff KingNov 13, 2007
  10. Jeff KingNov 13, 2007
  11. Jon SmirlNov 13, 2007
  12. Jeff KingNov 13, 2007
  13. Matthieu MoyNov 13, 2007
  14. Junio C HamanoNov 13, 2007
  15. Jon SmirlNov 13, 2007
  16. Jakub NarebskiNov 13, 2007
  17. Linus TorvaldsNov 12, 2007
  18. Johannes SchindelinNov 12, 2007
  19. Jon SmirlNov 12, 2007
  20. Jeff KingNov 13, 2007
  21. Jon SmirlNov 13, 2007
  22. Jon SmirlNov 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.