$ git clone -n https://git.cclinux.org/stage/rpms/tomcat.git /var/lib/mock/dist-circle8_9-updates-build-111234-67658/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-circle8_9-updates-build-111234-67658/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin 4b2c5e31d79b9140b9b6aa8d99a05d60581000c6:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/tomcat * [new ref] 4b2c5e31d79b9140b9b6aa8d99a05d60581000c6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4b2c5e3 import tomcat-9.0.62-27.el8_9.3