How do I disable the remote create pull request message when pushing changes

Still need help?

The Atlassian Community is here for you.

Ask the community


In Bitbucket Server 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: 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


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:

  1. Navigate to Administration > Add-ons > Manage apps 
  2. Select System from the dropdown
  3. Search for 'Bundled Hooks' (complete name is Bitbucket Server - Bundled Hooks), expand it and its modules
  4. Find the 'print-branch-links-hook' module, select Disable

Last modified on Feb 29, 2024

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.