$ git clone -n https://src.fedoraproject.org/rpms/knights.git /var/lib/mock/f40-build-790501-136598/root/chroot_tmpdir/scmroot/knights Cloning into '/var/lib/mock/f40-build-790501-136598/root/chroot_tmpdir/scmroot/knights'... $ git fetch origin 208fa7204d871e7b3c7bc267cab3124055cd5e28:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/knights * [new ref] 208fa7204d871e7b3c7bc267cab3124055cd5e28 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 208fa72 24.02.0