Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-384

Pull Request Open Prevention command could be better

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • None
    • 5.5.6
    • None
    • None
    • Sprint 51
    • 0

    Description

      At the moment when you try to create a PR from a old branch you see:

      Please rebase your branch on to the target branch before creating a pull request: git checkout task/SRCLOUD-1534-new-multi-select-documentation-example; git rebase master; git push -f

      There are a few problems:
      a) you need to already have master up to date
      b) we should recommend push --force-with-lease (in case someone else has force pushed to that branch) instead of push -f

      Please can it updated to say:

      Please rebase your branch on to the target branch before creating a pull request: git checkout master; git pull; git checkout task/SRCLOUD-1534-new-multi-select-documentation-example; git rebase master; git push --force-with-lease

      Attachments

        Activity

          People

            szaporozhtsev Sergey Zaporozhtsev [X] (Inactive)
            jbevan Jon Bevan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: