$ git clone -n https://src.fedoraproject.org/rpms/libguestfs.git /var/lib/mock/f40-build-733574-105273/root/chroot_tmpdir/scmroot/libguestfs Cloning into '/var/lib/mock/f40-build-733574-105273/root/chroot_tmpdir/scmroot/libguestfs'... $ git fetch origin 007cc47befa55db1fb83e8c3f79b8d1943fa239b:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libguestfs * [new ref] 007cc47befa55db1fb83e8c3f79b8d1943fa239b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 007cc47 zstd-devel -> libzstd-devel