Error You Do Not Have Write Access To This Repository
Contents |
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
Sign in Pricing Blog Support Search GitHub This repository Watch 209 Star 9,269 Fork 845 github/hub Code Issues 113 Pull requests 20 Projects github ssh key 0 Pulse Graphs New issue For repositories that user has write
Error: Src Refspec Master Does Not Match Any.
access to, set correct URL #213 Closed eproxus opened this Issue Jul 13, 2012 · 5 comments Projects
Permission Denied (publickey).
None yet Labels bug Milestone 1.11-stable Assignees No one assigned 5 participants eproxus commented Jul 13, 2012 Cloning a repository which the user has write https://groups.google.com/d/topic/gitorious/tt5dS7WON2g access to should produce the following url instead: url = git@github.com:USER/REPO.git in .git/config instead of: url = git://github.com/garazdawi/alm.git so that the user can do a push directly with seeing the following: $git push fatal: remote error: You can't push to git://github.com/USER/REPO.git Use git@github.com:USER/REPO.git calebthompson commented Jul 13, 2012 hub clone -p user/repo does this. You can also pass -p https://github.com/github/hub/issues/213 to hub remote add eproxus commented Jul 14, 2012 Ok, didn't know that. Any reason it's not done by default? trobrock commented Jul 14, 2012 That bugs me also that it doesn't fall back to the public repo GitHub member mislav commented Jul 16, 2012 Yep, this needs to be better. Will do something about it Seldaek commented Nov 17, 2012 Another use case is if I do fetch Seldaek, it obviously knows that's my own username, so it could add the Seldaek remote with the ssh url. mislav added a commit that referenced this issue Dec 21, 2013 mislav Content Documentation Customizations Theme Infrastructure Testbots Groups Git on Drupal.orgIssues "fatal: remote error: User 'None' does not have write permissions for repository" on initial push Closed (fixed)Project:Git on Drupal.orgComponent:User interfacePriority:NormalCategory:Support requestAssigned:UnassignedReporter:John FranklinCreated:August 20, 2011 - 19:50Updated:August 15, 2013 - 17:27 Log in or register to update this issue permission denied Jump to:Most recent comment I'm trying to create a new sandbox project, but I'm having problems getting code up to the git.drupal.org git server. Whenever I try to perform my first push, I get an error that "user 'None' does not have write permissions for the repository." I've followed push permission denied the directions in the Empty Sandbox Repository page, but to no avail: $ git init Initialized empty Git repository in /path/to/import_export_tools/.git/ $ echo "name = Import / Export Tools" > import_export_tools.info $ git add import_export_tools.info $ git commit -m "Initial commit." [master (root-commit) 2ae198b] Initial commit. 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 import_export_tools.info $ git remote add origin franklin@git.drupal.org:sandbox/franklin/1255136.git $ git push --verbose origin master Pushing to franklin@git.drupal.org:sandbox/franklin/1255136.git fatal: remote error: User 'None' does not have write permissions for repository '1255136' I can confirm the SSH keys are correct: Attempts to SSH to git.drupal.org using ssh -v git.drupal.org succeed with the debug message Authentication succeeded (publickey). Appropriately, no shell is granted, but the authentication succeeds. Near as I can tell, the git config is correct; 'franklin' is my Git username. $ git config --list user.name=John Franklin user.email=franklin@sentaidigital.com core.repositoryformatversion=0 core.filemode=true c