Pushing to gitorious [message #665261] |
Wed, 13 April 2011 22:13 |
No real name Messages: 3 Registered: April 2011 |
Junior Member |
|
|
I'm having trouble pushing to gitorious using egit. I've read through many threads here on this forum as well as on the gitorious group over the past week and none of the solutions presented solve my issue.
I've been able to clone fine (as long as I push some junk text file into the repo first to prevent the empty repository null bug), and commits seem to work, it's just pushing that fails.
These are the settings I've been trying:
Quote: | URI: ssh://git@<hostname>/<projectname>/<repositoryname>.git
Host: <hostname>
Repository path: <projectname>/<repositoryname>.git
|
I've been able to push with tortoisegit using the url exactly as provided by gitorious:
Quote: | git@<hostname>:<projectname>/<repositoryname>.git
|
The problem I'm facing is it always asks for a password for the user "git" where it should just be using ssh. Tortoisegit never asks for a password for git unless I forget to configure pageant. If I do supply it the account git's password (which I'm not comfortable handing out to my users anyway), it returns the follow error:
Quote: | ssh://git@<hostname>/<project>/<repo>.git: unable to chdir or not a git archive
|
It returns this error regardless of whether I use a colon or slash to separate the hostname from the projectname.
Any help would be greatly appreciated.
[Updated on: Wed, 13 April 2011 22:14] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03931 seconds