From: Pierre Habouzit <madcoder@debian.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: James <jtp@nc.rr.com>, git@vger.kernel.org
Subject: Re: git push refspec problem
Date: Wed, 07 Nov 2007 16:20:03 +0100 [thread overview]
Message-ID: <20071107152003.GL18057@artemis.corp> (raw)
In-Reply-To: <Pine.LNX.4.64.0711071510480.4362@racer.site>
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
On Wed, Nov 07, 2007 at 03:11:46PM +0000, Johannes Schindelin wrote:
> Hi,
>
> On Wed, 7 Nov 2007, James wrote:
>
> > fetch = +refs/heads/*:refs/remotes/origin/*
>
> This is a refspec.
>
> > push = ssh://james@my.server.com/home/james/scm/git/project.git/
>
> This is a URL. It does not specify any refs. But "push =" expects a URL.
>
> You probably want to setup a different remote if you want to push to a
> different URL than you are fetching from.
Oh, there is no way to pull through git:// and push to ssh://
perfectly knowint it's the same physical repository so that the fetch
doesn't have the ssh-handhshake-overhead ?
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-11-07 15:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 15:01 git push refspec problem James
2007-11-07 15:11 ` Johannes Schindelin
2007-11-07 15:20 ` Pierre Habouzit [this message]
2007-11-07 15:23 ` James
2007-11-07 15:26 ` Johannes Gilger
2007-11-07 15:38 ` Pierre Habouzit
2007-11-07 15:22 ` Johannes Gilger
2007-11-07 15:30 ` James
2007-11-07 20:40 ` Daniel Barkalow
2007-11-07 15:39 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071107152003.GL18057@artemis.corp \
--to=madcoder@debian.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=jtp@nc.rr.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.