Add additional advice about rebasing

This commit is contained in:
Johannes Schönberger
2013-06-17 16:39:35 +02:00
parent 1eb841d116
commit 8e4c11cf48
+6 -2
View File
@@ -41,8 +41,9 @@ For a more detailed discussion, read these :doc:`detailed documents
.. note::
Do *not* ever merge the main branch into yours. If GitHub indicates that
the Pull Request can no longer be merged automatically, rebase onto master::
Do *not* ever merge the main branch into yours. If GitHub indicates that the
branch of your Pull Request can no longer be merged automatically, rebase
onto master::
git checkout master
git pull upstream master
@@ -54,6 +55,9 @@ For a more detailed discussion, read these :doc:`detailed documents
git add conflict-file1 conflict-file2
git rebase --continue
However, you should only rebase your own branches and must generally not
rebase any branch which you collaborate on with someone else.
Finally, you must push your rebased branch::
git push -f origin transform-speedups