git version 2.10.0 added support to pass along push options to the hooks:
From the 2.10.0 release notes:
* "git push" learned to accept and pass extra options to the
receiving end so that hooks can read and react to them.
I am looking to use this feature in my pre-receive hook (via plugin). What does BitBucket do with the values passed from git push?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.