Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
None
-
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