Git Push Failed to Write
Symptoms
After executing a git push
the message below is on the output:
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Compressing objects: 100% (3/3), 491 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0).
error: couldn't set ref/heads/master
To http://user@domain/scm/{project-slug}/{repo-name}.git
! [remote rejected] BRANCH-NAME -> BRANCH-NAME (failed to write)
error: failed to push some refs to 'http://user@domain/scm/{project-slug}/{repo-name}.git'
Cause
You don't have full control (permission) on the BITBUCKET_HOME
directory.
On Windows environment, please
Resolution
- Please fix the permissions for the
BITBUCKET_HOME
directory.On Windows environment, please make sure you have full control of the directory as described on Running Bitbucket Data Center with a dedicated user
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.