Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Notes on git

Hi All,

The git for computer scientists document is really good for understanding what's going on in git:
http://eagain.net/articles/git-for-computer-scientists/

I installed the release candidate egit from:
http://download.eclipse.org/egit/staging/v1.0.0.201106081625-r/

The test repository, for committers, is:
   ssh://<commiter_id>@git.eclipse.org/gitroot/cdt/test2/org.eclipse.cdt.git/
(Note this URL is different from the http URL: http://git.eclipse.org/c/cdt/test2/org.eclipse.cdt.git/)
The password is your portal password.

I wasn't able to reproduce the soft reset issue Doug had in the call: reset --soft changed the HEAD, but didn't change the working copy

I did however get the same error on push.
 An internal Exception occurred during push: ssh://jblackburn@xxxxxxxxxxxxxxx/gitroot/cdt/test2/org.eclipse.cdt.git/: error occurred during unpacking on the remote end: unpack-objects abnormal exit

Command line git is more helpful:
Counting objects: 21, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (11/11), 755 bytes, done.
Total 11 (delta 4), reused 0 (delta 0)
error: insufficient permission for adding an object to repository database ./objects

fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To ssh://jblackburn@xxxxxxxxxxxxxxx/gitroot/cdt/test2/org.eclipse.cdt.git/
 ! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to 'ssh://jblackburn@xxxxxxxxxxxxxxx/gitroot/cdt/test2/org.eclipse.cdt.git/'


Doug, how did you create the central repo?  Did you pass '--shared' to git init?  It's possible that Mark is the only one who can push at the moment ;)

Cheers,
James

Back to the top