Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Problems pushing a repo
Problems pushing a repo [message #756347] Sat, 12 November 2011 10:17 Go to next message
Mads M. Hansen is currently offline Mads M. HansenFriend
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] Sun, 13 November 2011 00:48 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1272
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 10:34 Go to previous message
Mads M. Hansen is currently offline Mads M. HansenFriend
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: Mon Sep 23 00:24:52 GMT 2024

Powered by FUDForum. Page generated in 0.03632 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top