Reject Merge Commit Hook for Bitbucket
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Reject Merge Commit Hook

Download the latest version from Atlassian Marketplace

This is a pre-receive hook plugin for Atlassian Bitbucket Server. It rejects trivial merges and keeps your history clean and linear by enforcing a workflow which prefers using 'git pull --rebase'.

If you think -*-*-*- is better than

                                        /*\
                                     --/-*-\-*-*
                                            \*/

then this plugin is for you!