I am new to Bitbucket, and I am trying to figure out how I might be able to use rerere for Pull Requests.
As the admin I would like to try to merge in all branches before someone actually tries merging them in with pull requests. If I catch a branch that will cause a merge conflict I can resolve it ahead of time, and save the resolution with rerere. If I could copy my resolutions to the BitBucket server, it theoretically could automatically resolve the conflict.
I have the following issues, though.
- I do not know where BitBucket does the merges
- Even if I did, there is no setting that allows for the automatic committing with rerere. (See this answer that will help from the command line)
I am wondering if there is some way to add a hook of some sort to a pull request that can allow me to execute the requisite commands to apply rerere.