Drupal and git, noob permission issue

Events happening in the community are now at Drupal community events on www.drupal.org.
midmood's picture

Hi all,

I'm a total newbie working on git, trying to set up version control with drupal. Hope this a right place to ask... otherwise just kick me off.

My aim is to use an external service (either bettercodes or gitenterprise) to host a remote repository for my drupal projects.

i followed the instruction on this page : http://drupal.org/node/803746
I success only If i just grab a tar.gz from d.o, set up locally, then push to the remote repo.

In case i take my drupal copy from git.drupal.org, perform the same operations, then push, i obtain these errors (gitenterprise)

Counting objects: 108816, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (23360/23360), done.
Writing objects: 100% (108816/108816), 30.84 MiB | 47 KiB/s, done.
Total 108816 (delta 80616), reused 107133 (delta 79138)
remote:
remote: You are not [Name of a drupal user] <mail@same-drupal-user>.
remote: You are not [as above, many times]
..........

remote: denied: You cannot push changes not committed by you.
remote:
remote: error: hook declined to update refs/heads/master
protocol error: error refs/heads/master *** PERMISSION DENIED *** hook declined

To ssh://myuser@gitent-scm.com/git/myrepo/myproject.git
! [remote failure]  master -> master (remote failed to report status)
error: failed to push some refs to 'ssh://myuser@gitent-scm.com/git/myrepo/myproject.git'

I followed the instruction of the tutorial "to the letter".
I imagine this is why i cloned from drupal the entire project tree and cannot export it as "me-user" cause many of the changes are done by others... I searched a lot on the web, but since i'm just moving my first steps, maybe i cannot find the right keywords to ask google for solution.

Any hint, pointing or ready-to-use solution appreciated :-)

Simone

Comments

I faced similar problem with

Hnatt's picture

I faced similar problem with gitenterprise today, not related to Drupal. This page was one of the few results of googling on "remote: you are not", and another one in your comment. So I replied to your comment there: http://drupal.org/node/803746#comment-4843198

Hope it helps.

thank you

midmood's picture

Thank you very much.
I solved using assembla, but gitenterprise and bettercodes seems better to me.
I'll check your links!

Drupal And Git

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: