$ git clone -n https://gitee.com/src-anolis-os/tomcat.git /var/lib/mock/dist-an23.3-build-454750-73642/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an23.3-build-454750-73642/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin a23.3:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tomcat * [new branch] a23.3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3bd5052 update to 9.0.107 to fix cve