We have cloned a bare repo from some BitBucket repository,
modified it with filter-repo to get rid of some commits in the history,
and tried to push the result (git push --mirror). This fails.
Closer to the problem, the command: git push origin --force 'refs/replace/*'
fails. Output is like
! [remote rejected] refs/replace/fffde5e1ab13d1fcc288ef5f64bdbdf9701d21f2 -> refs/replace/fffde5e1ab13d1fcc288ef5f64bdbdf9701d21f2 (pre-receive hook declined)
Is this build-in behavior of BitBucket (release 7.17)?
Is it possible to deactivate this hook (that I did not find yet)?
Best regards,
Jürgen
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.