$ git clone -n https://git.cclinux.org/stage/rpms/tomcat.git /var/lib/mock/dist-circle9-build-120602-85265/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-circle9-build-120602-85265/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin 3556eaaf7ead6ef9080d3aa2f8e9d2e5963ac941:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/tomcat * [new ref] 3556eaaf7ead6ef9080d3aa2f8e9d2e5963ac941 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3556eaa import tomcat-9.0.62-39.el9