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