$ git clone -n https://src.fedoraproject.org/rpms/kidentitymanagement.git /var/lib/mock/f40-build-797852-141548/root/chroot_tmpdir/scmroot/kidentitymanagement Cloning into '/var/lib/mock/f40-build-797852-141548/root/chroot_tmpdir/scmroot/kidentitymanagement'... $ git fetch origin c5016e81e38a27ead3783cb21223ea7677cacd2e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kidentitymanagement * [new ref] c5016e81e38a27ead3783cb21223ea7677cacd2e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c5016e8 24.02.0