$ git clone -n https://src.fedoraproject.org/rpms/knights.git /var/lib/mock/f42-build-863619-171716/root/chroot_tmpdir/scmroot/knights Cloning into '/var/lib/mock/f42-build-863619-171716/root/chroot_tmpdir/scmroot/knights'... $ git fetch origin 98c77d68c1ea3d7058fc96d9fedbf36a61ec3b50:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/knights * [new ref] 98c77d68c1ea3d7058fc96d9fedbf36a61ec3b50 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 98c77d6 24.12.0