$ git clone -n https://gitee.com/src-anolis-os/tomcat.git /var/lib/mock/dist-an8.10-build-451756-73450/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an8.10-build-451756-73450/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin fc58548124f4005ed4cae35f2364ba46a06e7e2a:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tomcat * [new ref] fc58548124f4005ed4cae35f2364ba46a06e7e2a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fc58548 [CVE]update to tomcat-9.0.87-1.4