docs/releasing: add convenient command to rebase everything since last release
authorEric Engestrom <eric@igalia.com>
Fri, 4 Nov 2022 14:26:19 +0000 (14:26 +0000)
committerMarge Bot <emma+marge@anholt.net>
Mon, 14 Nov 2022 20:06:44 +0000 (20:06 +0000)
Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19536>

docs/releasing.rst

index 798f46e4e954210c492b537e39d14fe1898c8225..f663522b3a54900a736f99f813dd877144659bd3 100644 (file)
@@ -217,7 +217,12 @@ the branches:
 You are now on the :ref:`staging branch <stagingbranch>`, where you
 will be doing your release maintainer work. This branch can be rebased
 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
 `GitLab <https://gitlab.freedesktop.org/mesa/mesa/-/milestones>`__ and