git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git push refspec problem
@ 2007-11-07 15:01 James
  2007-11-07 15:11 ` Johannes Schindelin
  0 siblings, 1 reply; 10+ messages in thread
From: James @ 2007-11-07 15:01 UTC (permalink / raw)
  To: git

Hi,

I'm trying to set up my git configuration file in one of my projects  
so that I can do a simple "git push" to update my project on the git  
server.

Currently, I run the following command to push my updates (and it  
works just fine):

git push james@my.server.com:~/scm/git/project.git/

In my .git/config file, I've added a line for push, as follows:

[remote "origin"]
         url = git://my.server.com/project.git
         fetch = +refs/heads/*:refs/remotes/origin/*
         push = ssh://james@my.server.com/home/james/scm/git/ 
project.git/

When I run a "git push", it comes back with this error:

fatal: remote part of refspec is not a valid name in ssh://james@my.server.com/home/james/scm/git/project.git/

I've looked at this git push documentation:

http://www.kernel.org/pub/software/scm/git/docs/git-push.html

and it seems like my refspec is indeed correct.  (or so I thought ;))   
Any ideas on what I'm doing wrong?

Thanks!
.james

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-11-07 20:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07 15:01 git push refspec problem James
2007-11-07 15:11 ` Johannes Schindelin
2007-11-07 15:20   ` Pierre Habouzit
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).