$ git clone -n https://gitee.com/geliwei/tomcat.git /var/lib/mock/dist-an23-build-545186-86974/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an23-build-545186-86974/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin 1b1861b7edd178627473037c309d1f155d408b6a:KOJI_FETCH_HEAD From https://gitee.com/geliwei/tomcat * [new ref] 1b1861b7edd178627473037c309d1f155d408b6a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1b1861b fix: CVE-2023-46589