How do I disable the remote create pull request message when pushing changes
Usage
In Stash 3.3, a feature was added to display a message to users in the terminal with a link to create a pull request when a new branch or branch with no pull requests is pushed. This guide will explain how to turn this feature off.
remote:
remote: Create pull request for ABC-123-fix-bug:
remote: http://localhost:7990/projects/PROJ/repos/REPO/compare/commits?sourceBranch=refs/heads/ABC-123-fix-bug
remote:
Steps
Currently this feature can only be turned on or off globally. There are two feature requests to improve the behavior:
To turn this feature off, do the following:
- Navigate to the 'Manage add-ons' section of the Stash admin screens
- Select 'System' from the dropdown
- Search for 'Bundled Hooks' expand it and its modules
- Find the 'print-branch-links-hook' module, click Disable
Last modified on Feb 23, 2016
Powered by Confluence and Scroll Viewport.