While trying to push the code to remote getting (pre-receive hook declined)

Pydisetti Revanth March 8, 2024

Hi This is Revanth, I'm facing one issue from long time.

When, I'm trying to push my local changes to remote by using git push origin <branch_name> command. it is failing with pre-receive hook declined error. & I'm using 
Windows 10 Pro laptop. Can you please help here me to get it out. 

2 answers

1 accepted

0 votes
Answer accepted
Pydisetti Revanth March 11, 2024
Marc - Devoteam
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.
March 11, 2024

Hi @Pydisetti Revanth 

So the suggestion in the older community post resolves the issue.

Great to hear.

0 votes
Marc - Devoteam
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.
March 8, 2024

Hi @Pydisetti Revanth 

Welcome to the community.

Check out this community post, I think it's relation to your issues.

pre-receive-hook-declined-Windows-11 

Pydisetti Revanth March 8, 2024

I'm able to commit those changes in a new branch. but if I'm trying to push that branch to remote branch. 
Getting pre-receive hooks declined message.

Like Marc - Devoteam likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events