diff --git a/docs/docsite/rst/dev_guide/testing_sanity.rst b/docs/docsite/rst/dev_guide/testing_sanity.rst index bdedd0a48c2..af5bd856a0c 100644 --- a/docs/docsite/rst/dev_guide/testing_sanity.rst +++ b/docs/docsite/rst/dev_guide/testing_sanity.rst @@ -22,6 +22,10 @@ How to run To run sanity tests using docker, always use the default docker image by passing the ``--docker`` or ``--docker default`` argument. +.. note:: + When using docker and the ``--base-branch`` argument, + also use the ``--docker-keep-git`` argument to avoid git related errors. + .. code:: shell source hacking/env-setup