$ git clone -n https://gitee.com/src-opencloudos-rpms/tomcat.git /var/lib/mock/dist-oc8-build-74844-51457/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-oc8-build-74844-51457/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin 3894092ffa3e51f6c27a80c557b26d53005fd731:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/tomcat * [new ref] 3894092ffa3e51f6c27a80c557b26d53005fd731 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3894092 import tomcat-9.0.62-30.tl3