$ git clone -n https://gitee.com/src-opencloudos-rpms/tomcat.git /var/lib/mock/dist-oc9-build-81848-56158/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-oc9-build-81848-56158/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin f4857c1c9be4ec55488027239923d20d3cecf6e4:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/tomcat * [new ref] f4857c1c9be4ec55488027239923d20d3cecf6e4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f4857c1 import tomcat-9.0.86-2.tl4