$ git clone -n https://src.fedoraproject.org/rpms/kaddressbook.git /var/lib/mock/f38-build-717929-96627/root/chroot_tmpdir/scmroot/kaddressbook Cloning into '/var/lib/mock/f38-build-717929-96627/root/chroot_tmpdir/scmroot/kaddressbook'... $ git fetch origin b5b1ac5c36a29180ddad3adaad8697b71db9cc7c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kaddressbook * [new ref] b5b1ac5c36a29180ddad3adaad8697b71db9cc7c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b5b1ac5 23.04.1