$ git clone -n https://src.fedoraproject.org/rpms/kdiagram.git /var/lib/mock/f40-build-791051-137055/root/chroot_tmpdir/scmroot/kdiagram Cloning into '/var/lib/mock/f40-build-791051-137055/root/chroot_tmpdir/scmroot/kdiagram'... $ git fetch origin d6d7474fc0b4f67b22a4f2098d048f1a0867bf18:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kdiagram * [new ref] d6d7474fc0b4f67b22a4f2098d048f1a0867bf18 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d6d7474 Added -doc subpackage