Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to create branch in Bitbucket

Prabhu Chilukuri December 2, 2021

Hi All,

When the user is trying to create a branch, He is getting the below error,

 

remote: Check your branch permissions configuration with the project administrator.

 

remote: ----------------------------------------------------

 

remote:

 

remote:

 

To https://bitbucket.XXXXX.in/scm/p11270/XXXX_mas_rest_services.git

 

! [remote rejected] feature/esh_resendEmail -> feature/esh_resendEmail (pre-receive hook declined)

 

error: failed to push some refs to 'https://bitbucket.XXXX.in/scm/p11270/XXXXX_mas_rest_services.git'

 

Thanks,

Prabhu Ch

1 answer

0 votes
Joseph Hani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2021

Hello @Prabhu Chilukuri , 

 

Which permission the user have in the repositaries where he is trying to create a branch? 

Most of the time it just a problem of permission, for him to be able to create a branch he need minimum of Write permission, read permission doesn't let him create a branch or anything else. 

 

Go to Bitbucket --> Select the repositary --> Repositary Setting --> User and group access 

--> You can check which permission he have

 

Regards,

JH

Prabhu Chilukuri December 2, 2021

Hi Joseph,

I have already provided write access to the user

 

Do you have any idea about below error,

 

! [remote rejected] feature/esh_resendEmail -> feature/esh_resendEmail (pre-receive hook declined)

Joseph Hani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 2, 2021

You should ask the manager in charge of the Repo "feature/esh_resendEmail"

It can come from multiple problem, but from my perspective 

 

They are providing a lot of information on this page :

https://stackoverflow.com/questions/7986139/git-error-when-trying-to-push-pre-receive-hook-declined

 

Regards,

JH

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events