At Bitbucket, using the Bitbucket web interface, I synchronized the blessed repo with my own private fork by mistake. I wanted to rewrite the story on a blessed repo in order to get it back to the correct commit.
I cloned a blessed repo that contained my wrong commits and ran locally
git reset
on a branch whose story screwed up.
This returned the cloned repo to the commit it was in before I screwed up.
Then I sent the repo back to Bitbucket using
git push -f origin development
but got the following error
remote: permission denied to force push branch development
To git@bitbucket.org:blessed-repo/blessed-repo.git
! [remote rejected] HEAD -> development (pre-receive hook declined)
error: failed to push some refs to 'git@bitbucket.org:blessed-repo/blessed-repo.git'
Why did I get this error and how to make it work git push?