docs/releasing: add convenient command to rebase everything since last release

Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19536>
This commit is contained in:
Eric Engestrom
2022-11-04 14:26:19 +00:00
committed by Marge Bot
parent 68f942f217
commit 92854b96bc

View File

@@ -217,7 +217,12 @@ the branches:
You are now on the :ref:`staging branch <stagingbranch>`, where you You are now on the :ref:`staging branch <stagingbranch>`, where you
will be doing your release maintainer work. This branch can be rebased will be doing your release maintainer work. This branch can be rebased
and altered in way necessary, with the caveat that anything pushed to and altered in way necessary, with the caveat that anything pushed to
the ``X.Y`` branch must not be altered anymore. the ``X.Y`` branch must not be altered anymore. A convenient command
to perform an interactive rebase over everything since the last release is:
.. code-block:: console
git rebase -i mesa-$(cat VERSION)
Now go to Now go to
`GitLab <https://gitlab.freedesktop.org/mesa/mesa/-/milestones>`__ and `GitLab <https://gitlab.freedesktop.org/mesa/mesa/-/milestones>`__ and