$ git clone -n https://git.cclinux.org/stage/rpms/sanlock.git /var/lib/mock/dist-circle9-build-120647-85318/root/chroot_tmpdir/scmroot/sanlock Cloning into '/var/lib/mock/dist-circle9-build-120647-85318/root/chroot_tmpdir/scmroot/sanlock'... $ git fetch origin 52b080387a636d8bd5966365ba38b045307136b6:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/sanlock * [new ref] 52b080387a636d8bd5966365ba38b045307136b6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 52b0803 import sanlock-3.9.1-1.el9