I rebuilt my computer recently and am trying to make a change to a module I created a year ago and uploaded to the Drupal sandbox (while it awaits approval). I reinstalled git on my windows computer and made a clone of the repository on my local drive, and made the changes. HOwever, I am unable to push the file back to the server. I am getting the error "fatal: remote error: access denied or repository not exported: /sandbox/robbertv/2158841.git". I'm using SourceTree to push the changes. I don't understand where I'm supposed to enter my credentials to upload the changed file. I admit my understanding of git is very minimal.

Comments

robbertv’s picture

I figured it out by cloning the project with my username using the command line.

pmagunia’s picture

This worked for me as well.

Palashvijay4O’s picture

When I am trying to clone my repo but it is giving me error
ssh: connect to host git.drupal.org port 22: Connection refused
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Please help me with this !!

guptas89’s picture

I am able to clone my repository successfully but not able to push back code to the same repository. Error:
fatal: remote error: access denied or repository not exported:

sanjay.soni’s picture

Best Regards,
Sanjay
skype:er.sanjaysoni