$ git clone -n https://src.fedoraproject.org/rpms/kf5-libkdcraw.git /var/lib/mock/f38-build-712344-94305/root/chroot_tmpdir/scmroot/kf5-libkdcraw Cloning into '/var/lib/mock/f38-build-712344-94305/root/chroot_tmpdir/scmroot/kf5-libkdcraw'... $ git fetch origin 7cb3d2c9be034625dc9007921266467dc3114058:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kf5-libkdcraw * [new ref] 7cb3d2c9be034625dc9007921266467dc3114058 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7cb3d2c 23.04.0