$ git clone -n https://git.cclinux.org/stage/rpms/libqb.git /var/lib/mock/dist-circle9-build-119574-84398/root/chroot_tmpdir/scmroot/libqb Cloning into '/var/lib/mock/dist-circle9-build-119574-84398/root/chroot_tmpdir/scmroot/libqb'... $ git fetch origin bb7c5d60bf2dce756861c50b89cd0e955e6e377a:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/libqb * [new ref] bb7c5d60bf2dce756861c50b89cd0e955e6e377a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bb7c5d6 import libqb-2.0.8-1.el9