Re: git push refspec problem
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 7, 2007, 15:11 UTC
- Message-ID
- <Pine.LNX.4.64.0711071510480.4362@racer.site>
- In-Reply-To
- <7B37E361-9606-447C-B853-001182688AFA@nc.rr.com>
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.
Hth, Dscho