$ git clone -n https://gitee.com/src-anolis-os/tomcat.git /var/lib/mock/dist-an23-build-376840-71750/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an23-build-376840-71750/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin a23.0:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tomcat * [new branch] a23.0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at beffb5e fix CVE-2024-24549