Re: git push refspec problem

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

 



On Nov 7, 2007, at 10:20 AM, Pierre Habouzit wrote:

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@xxxxxxxxxxxxx/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 ?


There has to be *some* way of pulling through git and pushing through ssh with a simple "git push". :-P I'm doing it manually, after all. I could have sworn I've read how to do its somewhere but have since forgotten.


--
·O·  Pierre Habouzit
··O                                                madcoder@xxxxxxxxxx
OOO                                                http://www.madism.org

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux