Re: Local branch to remote branch translation
- From
Jon Smirl <jonsmirl@gmail.com>
- Date
- Nov 11, 2007, 21:20 UTC
- Message-ID
- <9e4733910711111320u1deafe69r96d64babbb893adf@mail.gmail.com>
- In-Reply-To
- <B5C127C0-04B8-4469-B6DD-C8B5335BBA88@zib.de>
On 11/11/07, Steffen Prohaska <prohaska@zib.de> wrote:
Show 9 quoted lines
> > jonsmirl@terra:~/mpc5200b$ git remote show linus > > * remote linus > > URL: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/ > > linux-2.6.git > > > > How do I push the definition of the linus remote repo? > > You can't. Remotes are local to a repository. They cannot be > "pushed" nor will they be "cloned" or "fetched".
Dreamhost is way slow compared to kernel.org, so it is better to clone from kernel.org first and then pull from dreamhost. What is the right sequence of commands so that a new user will end up with a kernel they can use 'git pull' on to get updates from dreamhost? I'll add these to the repo description page.
I'm trying this locally and I can't figure out the right sequence of git command to redirect origin from kernel.org to dreamhost.
Doing this was bad, it messed up my heads. jonsmirl@terra:~/foo/digispeaker$ git remote rm origin error: unable to resolve reference refs/remotes/origin/master: No such file or directory update-ref -d refs/remotes/origin/master 6e800af233e0bdf108efb7bd23c11ea6fa34cdeb: command returned error: 1
-- Jon Smirl jonsmirl@gmail.com