$ git clone -n https://src.fedoraproject.org/rpms/kmail.git /var/lib/mock/f40-build-802971-144152/root/chroot_tmpdir/scmroot/kmail Cloning into '/var/lib/mock/f40-build-802971-144152/root/chroot_tmpdir/scmroot/kmail'... $ git fetch origin b01d9c41fe08dffa337d380876b8374479c28e5d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kmail * [new ref] b01d9c41fe08dffa337d380876b8374479c28e5d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b01d9c4 24.02.1