$ git clone -n https://src.fedoraproject.org/rpms/gwenview.git /var/lib/mock/f41-build-858596-168464/root/chroot_tmpdir/scmroot/gwenview Cloning into '/var/lib/mock/f41-build-858596-168464/root/chroot_tmpdir/scmroot/gwenview'... $ git fetch origin cf861c6cf84f834fb75066124a1a8e3e8e9e10d6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gwenview * [new ref] cf861c6cf84f834fb75066124a1a8e3e8e9e10d6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cf861c6 24.08.2