Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Problems pushing a repo
Problems pushing a repo [message #756347] Sat, 12 November 2011 05:17 Go to next message
Mads M. Hansen is currently offline Mads M. Hansen
Messages: 14
Registered: July 2009
Junior Member
I get this error when I try to push a local repository to a remote (bare) repository with Egit:


Repository git+ssh://xxx@yyy.org.uk/data3/guest/xxx/git/testrepo

hook declined
* Project description file hasn't been set
error: hooks/update exited
with error code 1
error: hook declined to update refs/heads/master

What's going on?

Also - When does eclipse forget the passphrase for the SSH key being used?
Re: Problems pushing a repo [message #756418 is a reply to message #756347] Sat, 12 November 2011 19:48 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 556
Registered: July 2009
Senior Member
Looks like the server you are pushing to has some hook installed preventing pushes which don't have a project description file. Talk to the administrator of this git server to find out what this means.
Re: Problems pushing a repo [message #756435 is a reply to message #756418] Sun, 13 November 2011 05:34 Go to previous message
Mads M. Hansen is currently offline Mads M. Hansen
Messages: 14
Registered: July 2009
Junior Member
That was it. It was an old version of git that was installed and installing the current version for the user seem to have fixed things.
Previous Topic:EGit perf and file saving problems
Next Topic:synchronizing a single repository with multiple projects
Goto Forum:
  


Current Time: Fri Aug 22 19:39:33 EDT 2014

Powered by FUDForum. Page generated in 0.01861 seconds