Troubleshooting git push errors
When you use git push
to push your changes to a drupal.org code repository, you may see one or more of the following errors. This page provides strategies for fixing the errors.
Wrong URL
The repository at 'url-path' does not exist. Did you make a typo in the URL?
The repository that you requested does not exist. Check the project name to be sure that you are pushing to the correct remote origin in you .git/config file
Permission denied
Permission denied when accessing 'url-path' as user 'username'
You authenticated with a username:password pair, but are not a maintainer for the repository you are accessing.
Account suspended
Your account is suspended.
Global flag for account suspension is flipped. See Obtaining Git access for more information.
Git Access Agreement
You are required to accept the Git Access Agreement in your user profile before using git.
Global flag for lack of access agreement is flipped. See Obtaining Git access for more information.
No access to URL
You do not have permission to access 'url-path' with the provided credentials.
No Git user role for any other reason. See Obtaining Git access for more information.
Cannot access
error: Cannot access URL http://git.drupal.org/project/PROJECT.git/, return code 22
or
Unable to access
fatal: unable to access 'https://git.drupal.org/project//PROJECT/': The requested URL returned error: 403
The remote origin url in your .git/config file is not using authentication, or is incorrect. See Cloning a Drupal Git repository for more information.
Operation cannot be completed
This operation cannot be completed at this time. It may be that we are experiencing technical difficulties or are currently undergoing maintenance.
Catch all error for other problems. Authentication service is returning badly formed data or similar problems.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion