$ git clone -n https://gitee.com/src-opencloudos-rpms/tomcat.git /var/lib/mock/dist-oc8-build-100361-64439/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-oc8-build-100361-64439/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin d285ffef5216329fb50e2f01395d95c2402b757a:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/tomcat * [new ref] d285ffef5216329fb50e2f01395d95c2402b757a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d285ffe import tomcat-9.0.87-1.tl3.2