Commit failed. Ref must be HEAD and is HEAD [message #990417] |
Wed, 12 December 2012 06:49  |
Eclipse User |
|
|
|
Hi,
I started to use Orion today and wanted to create and use a repository hosted by bitbucket.org.
I created a repository on bitbucket.org.
Then I created a folder and a file inside Orion. Now I wanted the folder and it's file to be committed to the repository.
I staged the folder and clicked 'Commit', I entered Message, Commiter name / eMail, Author name / email and clicked OK.
But then Orion comes up with an error message:
Commit failed. Ref must be HEAD and is HEAD
What I am missing?
Thanks for any help!
|
|
|
|
|
Re: Commit failed. Ref must be HEAD and is HEAD [message #990519 is a reply to message #990515] |
Wed, 12 December 2012 15:53   |
Eclipse User |
|
|
|
Yes, it sounds like the repository that Mr. Burns cloned was uninitialized, so Orion's Git features can't deal with it. Here's how to recover from this:
* In Orion, go to the Repositories page, click Init Repository, then click More.
* Select Existing Folder, and browse to the uninitialized clone that you created. Select it and click OK.
This will initialize your Git repository, so you should be able to commit to it at this point, and push back to Bitbucket.
[Updated on: Wed, 12 December 2012 15:58] by Moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04200 seconds