$ git clone -n https://git.cclinux.org/stage/rpms/smc-tools.git /var/lib/mock/dist-circle9-build-119642-84427/root/chroot_tmpdir/scmroot/smc-tools Cloning into '/var/lib/mock/dist-circle9-build-119642-84427/root/chroot_tmpdir/scmroot/smc-tools'... $ git fetch origin b89b807d2887d8308cb80d0ffa4a9041d73c9115:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/smc-tools * [new ref] b89b807d2887d8308cb80d0ffa4a9041d73c9115 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b89b807 import smc-tools-1.8.3-1.el9