git push refspec problem

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

 



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@xxxxxxxxxxxxx:~/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@xxxxxxxxxxxxx/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@xxxxxxxxxxxxx/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
-
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